1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-13 08:02:38 +03:00

highlight invites correctly

This commit is contained in:
Matthew Hodgson
2017-04-19 00:09:03 +01:00
parent 093b9a0b52
commit abf2300c0d

View File

@@ -104,7 +104,7 @@ module.exports = React.createClass({
onRefresh: function(params) {
this.setState({
unread: Unread.doesRoomHaveUnreadMessages(this.props.room),
highlight: this.props.room.getUnreadNotificationCount('highlight') > 0 || this.props.label === 'Invites',
highlight: this.props.room.getUnreadNotificationCount('highlight') > 0 || this.props.isInvite,
});
},