Fix 'unread messages' in status

This got broken in the previous commit
pull/21833/head
Richard van der Hoff 2016-02-09 12:40:11 +00:00
parent 194110dd71
commit 7fd56351a9
1 changed files with 1 additions and 1 deletions

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" : "");