Initialise unread messages value correctly

This commit is contained in:
David Baker 2017-11-11 15:57:20 +00:00
parent b1ec430523
commit bce4815851

View File

@ -107,7 +107,7 @@ module.exports = React.createClass({
return { return {
syncState: MatrixClientPeg.get().getSyncState(), syncState: MatrixClientPeg.get().getSyncState(),
usersTyping: WhoIsTyping.usersTypingApartFromMe(this.props.room), usersTyping: WhoIsTyping.usersTypingApartFromMe(this.props.room),
unsentMessages: [], unsentMessages: getUnsentMessages(this.props.room),
}; };
}, },