1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-08 21:42:24 +03:00

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();
}
},