1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-05 23:10:41 +03:00

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 {
syncState: MatrixClientPeg.get().getSyncState(),
usersTyping: WhoIsTyping.usersTypingApartFromMe(this.props.room),
unsentMessages: [],
unsentMessages: getUnsentMessages(this.props.room),
};
},