mirror of
https://github.com/element-hq/element-web
synced 2024-11-28 12:28:50 +03:00
highlight invites correctly
This commit is contained in:
parent
093b9a0b52
commit
abf2300c0d
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
});
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue