mirror of
https://github.com/element-hq/element-web
synced 2024-11-22 17:25:50 +03:00
Update src/components/views/settings/tabs/user/SecurityUserSettingsTab.js
Co-Authored-By: Michael Telatynski <7t3chguy@googlemail.com>
This commit is contained in:
parent
ff3272061c
commit
5163232081
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ export default class SecurityUserSettingsTab extends React.Component {
|
|||
const index = currentlyIgnoredUserIds.indexOf(userId);
|
||||
if (index !== -1) {
|
||||
currentlyIgnoredUserIds.splice(index, 1);
|
||||
this.setState(({waitingUnignored})=>({waitingUnignored: [...waitingUnignored, userId]}));
|
||||
this.setState(({waitingUnignored}) => ({waitingUnignored: [...waitingUnignored, userId]}));
|
||||
MatrixClientPeg.get().setIgnoredUsers(currentlyIgnoredUserIds);
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue