Fix 'unread messages' in status

This got broken in the previous commit
This commit is contained in:
Richard van der Hoff 2016-02-09 12:40:11 +00:00
parent 194110dd71
commit 7fd56351a9

View File

@ -136,7 +136,7 @@ module.exports = React.createClass({
// unread count trumps who is typing since the unread count is only
// set when you've scrolled up
if (this.props.numUnreadMsgs) {
if (this.props.numUnreadMessages) {
var unreadMsgs = this.props.numUnreadMessages + " new message" +
(this.props.numUnreadMessages > 1 ? "s" : "");