mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-26 00:42:08 +02:00
Update for new unread count format
This commit is contained in:
parent
c96ce482bc
commit
eb62456007
@ -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={ room.unread_notification_count > 0 || self.props.label === 'Invites' }
|
highlight={ (room.unread_notifications && room.unread_notifications['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…
x
Reference in New Issue
Block a user