Skip to content

Commit cb1fabc

Browse files
committed
Highlight status is now the room's unread notif count
1 parent 59f419b commit cb1fabc

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={ self.props.activityMap[room.roomId] === 2 }
258+
highlight={ room.unread_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)