Merge pull request #556 from vector-im/notif_sync
Use unread count for room highlight state
This commit is contained in:
commit
2d917910da
2 changed files with 1 additions and 5 deletions
|
@ -255,7 +255,7 @@ var RoomSubList = React.createClass({
|
|||
collapsed={ self.props.collapsed || false}
|
||||
selected={ selected }
|
||||
unread={ self.props.activityMap[room.roomId] === 1 }
|
||||
highlight={ self.props.activityMap[room.roomId] === 2 }
|
||||
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 } />
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue