Skip to content
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

Merged
merged 6 commits into from
Jan 21, 2016
Merged

Use unread count for room highlight state #556

merged 6 commits into from
Jan 21, 2016

Conversation

dbkr
Copy link
Member

@dbkr dbkr commented Dec 22, 2015

@kegsay
Copy link
Contributor

kegsay commented Dec 23, 2015

LGTM - blocked on other PR before merging.

dbkr added 2 commits January 6, 2016 17:36
…ld be unnecessary because the additional sizes are muxed into the ico file.
@dbkr
Copy link
Member Author

dbkr commented Jan 21, 2016

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' }
Copy link
Contributor

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?

@kegsay
Copy link
Contributor

kegsay commented Jan 21, 2016

LGTM aside from comment

@dbkr
Copy link
Member Author

dbkr commented Jan 21, 2016

ahem apply patch the right branch...

@@ -1,4 +1,4 @@
{
"default_hs_url": "https://matrix.org",
"default_hs_url": "http://localhost:8008",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oopsie :D

@kegsay
Copy link
Contributor

kegsay commented Jan 21, 2016

LGTM aside from config thing

dbkr added a commit that referenced this pull request Jan 21, 2016
Use unread count for room highlight state
@dbkr dbkr merged commit 2d91791 into develop Jan 21, 2016
@t3chguy t3chguy deleted the notif_sync branch May 12, 2022 08:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants