You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-10 09:22:25 +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:
@@ -390,6 +390,8 @@ module.exports = React.createClass({
|
|||||||
onAction: function(payload) {
|
onAction: function(payload) {
|
||||||
if (payload.action === "notifier_enabled") {
|
if (payload.action === "notifier_enabled") {
|
||||||
this.forceUpdate();
|
this.forceUpdate();
|
||||||
|
} else if (payload.action === "ignore_state_changed") {
|
||||||
|
this._refreshIgnoredUsers();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user