Skip to content

Commit a08d00c

Browse files
committed
Apply patch to the right branch: update for new count format
1 parent eb62456 commit a08d00c

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎config.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"default_hs_url": "https://matrix.org",
2+
"default_hs_url": "http://localhost:8008",
33
"default_is_url": "https://vector.im"
44
}

‎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_notifications && room.unread_notifications['notification_count'] > 0) || self.props.label === 'Invites' }
258+
highlight={ room.getUnreadNotificationCount('highlight') > 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)