mirror of https://github.com/vector-im/riot-web
tweak comment
parent
0363f73e28
commit
9e77d1b763
|
@ -246,7 +246,7 @@ const commands = {
|
||||||
if (matches) {
|
if (matches) {
|
||||||
const userId = matches[1];
|
const userId = matches[1];
|
||||||
const ignoredUsers = MatrixClientPeg.get().getIgnoredUsers();
|
const ignoredUsers = MatrixClientPeg.get().getIgnoredUsers();
|
||||||
ignoredUsers.push(userId); // de-duped internally below
|
ignoredUsers.push(userId); // de-duped internally in the js-sdk
|
||||||
return success(
|
return success(
|
||||||
MatrixClientPeg.get().setIgnoredUsers(ignoredUsers).then(() => {
|
MatrixClientPeg.get().setIgnoredUsers(ignoredUsers).then(() => {
|
||||||
const QuestionDialog = sdk.getComponent("dialogs.QuestionDialog");
|
const QuestionDialog = sdk.getComponent("dialogs.QuestionDialog");
|
||||||
|
|
Loading…
Reference in New Issue