Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 2605004

Browse files
authored
Update ignored users when js-sdk on UserSettings on change
Signed-off-by: Travis Ralston <[email protected]>
1 parent 9e77d1b commit 2605004

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/components/structures/UserSettings.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -390,6 +390,8 @@ module.exports = React.createClass({
390390
onAction: function(payload) {
391391
if (payload.action === "notifier_enabled") {
392392
this.forceUpdate();
393+
} else if (payload.action === "ignore_state_changed") {
394+
this._refreshIgnoredUsers();
393395
}
394396
},
395397

0 commit comments

Comments
 (0)