mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
Highlight status is now the room's unread notif count
This commit is contained in:
parent
59f419b310
commit
cb1fabc578
@ -255,7 +255,7 @@ var RoomSubList = React.createClass({
|
|||||||
collapsed={ self.props.collapsed || false}
|
collapsed={ self.props.collapsed || false}
|
||||||
selected={ selected }
|
selected={ selected }
|
||||||
unread={ self.props.activityMap[room.roomId] === 1 }
|
unread={ self.props.activityMap[room.roomId] === 1 }
|
||||||
highlight={ self.props.activityMap[room.roomId] === 2 }
|
highlight={ room.unread_notification_count > 0 || self.props.label === 'Invites' }
|
||||||
isInvite={ self.props.label === 'Invites' }
|
isInvite={ self.props.label === 'Invites' }
|
||||||
incomingCall={ self.props.incomingCall && (self.props.incomingCall.roomId === room.roomId) ? self.props.incomingCall : null }
|
incomingCall={ self.props.incomingCall && (self.props.incomingCall.roomId === room.roomId) ? self.props.incomingCall : null }
|
||||||
/>
|
/>
|
||||||
|
Loading…
Reference in New Issue
Block a user