Update RoomTiles on custom status change

This commit is contained in:
J. Ryan Stinnett 2019-01-11 18:24:06 -06:00
parent e08c70b820
commit c76b273fae
3 changed files with 38 additions and 1 deletions

View file

@ -112,7 +112,13 @@ module.exports = React.createClass({
this.setState({
notificationCount: this.props.room.getUnreadNotificationCount(),
});
break;
break;
// RoomTiles are one of the few components that may show custom status and
// also remain on screen while in Settings toggling the feature. This ensures
// you can clearly see the status hide and show when toggling the feature.
case 'feature_custom_status_changed':
this.forceUpdate();
break;
}
},