1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-08 21:42:24 +03:00

tweak comment

This commit is contained in:
Matthew Hodgson
2017-09-17 21:50:24 +01:00
committed by GitHub
parent 0363f73e28
commit 9e77d1b763

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