From cb1fabc57860a08726f8f6f3482709232ea754e2 Mon Sep 17 00:00:00 2001 From: David Baker Date: Fri, 18 Dec 2015 17:53:31 +0000 Subject: [PATCH] Highlight status is now the room's unread notif count --- src/components/structures/RoomSubList.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/structures/RoomSubList.js b/src/components/structures/RoomSubList.js index 461c87fb0b..4aa9855329 100644 --- a/src/components/structures/RoomSubList.js +++ b/src/components/structures/RoomSubList.js @@ -255,7 +255,7 @@ var RoomSubList = React.createClass({ collapsed={ self.props.collapsed || false} selected={ selected } 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' } incomingCall={ self.props.incomingCall && (self.props.incomingCall.roomId === room.roomId) ? self.props.incomingCall : null } />