mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
Use new unread count methods
This commit is contained in:
parent
c0f1ae0133
commit
ac2e69ba28
@ -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 }
|
||||
/>
|
||||
|
Loading…
Reference in New Issue
Block a user