Skip to content

Commit eb62456

Browse files
committed
Update for new unread count format
1 parent c96ce48 commit eb62456

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/components/structures/RoomSubList.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ var RoomSubList = React.createClass({
255255
collapsed={ self.props.collapsed || false}
256256
selected={ selected }
257257
unread={ self.props.activityMap[room.roomId] === 1 }
258-
highlight={ room.unread_notification_count > 0 || self.props.label === 'Invites' }
258+
highlight={ (room.unread_notifications && room.unread_notifications['notification_count'] > 0) || self.props.label === 'Invites' }
259259
isInvite={ self.props.label === 'Invites' }
260260
incomingCall={ self.props.incomingCall && (self.props.incomingCall.roomId === room.roomId) ? self.props.incomingCall : null }
261261
/>

0 commit comments

Comments
 (0)