Skip to content

Commit ac2e69b

Browse files
committed
Use new unread count methods
1 parent c0f1ae0 commit ac2e69b

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
@@ -253,7 +253,7 @@ var RoomSubList = React.createClass({
253253
collapsed={ self.props.collapsed || false}
254254
selected={ selected }
255255
unread={ Unread.doesRoomHaveUnreadMessages(room) }
256-
highlight={ room.unread_notification_count > 0 || self.props.label === 'Invites' }
256+
highlight={ room.getUnreadNotificationCount('highlight') > 0 || self.props.label === 'Invites' }
257257
isInvite={ self.props.label === 'Invites' }
258258
incomingCall={ self.props.incomingCall && (self.props.incomingCall.roomId === room.roomId) ? self.props.incomingCall : null }
259259
/>

0 commit comments

Comments
 (0)