You've already forked matrix-react-sdk
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:
@@ -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");
|
||||||
|
|||||||
Reference in New Issue
Block a user