mirror of https://github.com/vector-im/riot-web
highlight invites correctly
parent
093b9a0b52
commit
abf2300c0d
|
@ -104,7 +104,7 @@ module.exports = React.createClass({
|
||||||
onRefresh: function(params) {
|
onRefresh: function(params) {
|
||||||
this.setState({
|
this.setState({
|
||||||
unread: Unread.doesRoomHaveUnreadMessages(this.props.room),
|
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 New Issue