diff --git a/src/SlashCommands.js b/src/SlashCommands.js index a7551a789c..5939ceb98e 100644 --- a/src/SlashCommands.js +++ b/src/SlashCommands.js @@ -246,7 +246,7 @@ const commands = { if (matches) { const userId = matches[1]; const ignoredUsers = MatrixClientPeg.get().getIgnoredUsers(); - ignoredUsers.push(userId); // de-duped internally below + ignoredUsers.push(userId); // de-duped internally in the js-sdk return success( MatrixClientPeg.get().setIgnoredUsers(ignoredUsers).then(() => { const QuestionDialog = sdk.getComponent("dialogs.QuestionDialog");