tweak comment

pull/21833/head
Matthew Hodgson 2017-09-17 21:50:24 +01:00 committed by GitHub
parent 0363f73e28
commit 9e77d1b763
1 changed files with 1 additions and 1 deletions

View File

@ -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");