fix invite highlights

This commit is contained in:
Matthew Hodgson 2017-04-19 00:13:01 +01:00
parent abf2300c0d
commit 4a9c168682

View File

@ -101,6 +101,10 @@ module.exports = React.createClass({
}
},
componentWillReceiveProps: function(nextProps) {
this.onRefresh();
},
onRefresh: function(params) {
this.setState({
unread: Unread.doesRoomHaveUnreadMessages(this.props.room),