From bce481585110f7676cf399eec6a17d76b8232eb9 Mon Sep 17 00:00:00 2001 From: David Baker Date: Sat, 11 Nov 2017 15:57:20 +0000 Subject: [PATCH] Initialise unread messages value correctly --- src/components/structures/RoomStatusBar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/structures/RoomStatusBar.js b/src/components/structures/RoomStatusBar.js index c37cc7deef..30f6f3ee2a 100644 --- a/src/components/structures/RoomStatusBar.js +++ b/src/components/structures/RoomStatusBar.js @@ -107,7 +107,7 @@ module.exports = React.createClass({ return { syncState: MatrixClientPeg.get().getSyncState(), usersTyping: WhoIsTyping.usersTypingApartFromMe(this.props.room), - unsentMessages: [], + unsentMessages: getUnsentMessages(this.props.room), }; },