Use new unread count methods

pull/710/head
David Baker 2016-01-20 17:20:19 +00:00
parent c0f1ae0133
commit ac2e69ba28
1 changed files with 1 additions and 1 deletions

View File

@ -253,7 +253,7 @@ var RoomSubList = React.createClass({
collapsed={ self.props.collapsed || false}
selected={ selected }
unread={ Unread.doesRoomHaveUnreadMessages(room) }
highlight={ room.unread_notification_count > 0 || self.props.label === 'Invites' }
highlight={ room.getUnreadNotificationCount('highlight') > 0 || self.props.label === 'Invites' }
isInvite={ self.props.label === 'Invites' }
incomingCall={ self.props.incomingCall && (self.props.incomingCall.roomId === room.roomId) ? self.props.incomingCall : null }
/>