mirror of https://github.com/vector-im/riot-web
Update ignored users when js-sdk on UserSettings on change
Signed-off-by: Travis Ralston <travpc@gmail.com>pull/21833/head
parent
9e77d1b763
commit
2605004edb
|
@ -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();
|
||||
}
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in New Issue