fix invite highlights
parent
abf2300c0d
commit
4a9c168682
|
@ -101,6 +101,10 @@ module.exports = React.createClass({
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
componentWillReceiveProps: function(nextProps) {
|
||||||
|
this.onRefresh();
|
||||||
|
},
|
||||||
|
|
||||||
onRefresh: function(params) {
|
onRefresh: function(params) {
|
||||||
this.setState({
|
this.setState({
|
||||||
unread: Unread.doesRoomHaveUnreadMessages(this.props.room),
|
unread: Unread.doesRoomHaveUnreadMessages(this.props.room),
|
||||||
|
|
Loading…
Reference in New Issue