-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use unread count for room highlight state #556
Conversation
LGTM - blocked on other PR before merging. |
…ld be unnecessary because the additional sizes are muxed into the ico file.
this has changed so quick ptal then I'll merge? |
@@ -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_notifications && room.unread_notifications['notification_count'] > 0) || self.props.label === 'Invites' } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought we had getters for this now?
LGTM aside from comment |
ahem apply patch the right branch... |
@@ -1,4 +1,4 @@ | |||
{ | |||
"default_hs_url": "https://matrix.org", | |||
"default_hs_url": "http://localhost:8008", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oopsie :D
LGTM aside from config thing |
Use unread count for room highlight state
Requires matrix-org/matrix-react-sdk#68