Update ignored users when js-sdk on UserSettings on change

Signed-off-by: Travis Ralston <travpc@gmail.com>
This commit is contained in:
Travis Ralston 2017-09-17 15:04:03 -06:00 committed by GitHub
parent 9e77d1b763
commit 2605004edb

View file

@ -390,6 +390,8 @@ module.exports = React.createClass({
onAction: function(payload) {
if (payload.action === "notifier_enabled") {
this.forceUpdate();
} else if (payload.action === "ignore_state_changed") {
this._refreshIgnoredUsers();
}
},