mirror of https://github.com/vector-im/riot-web
Update src/components/views/settings/tabs/user/SecurityUserSettingsTab.js
Co-Authored-By: Michael Telatynski <7t3chguy@googlemail.com>pull/21833/head
parent
ff3272061c
commit
5163232081
|
@ -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 New Issue