From f8b1b360517d270f6172f2e69c845a8f993d2e64 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Thu, 19 Sep 2019 09:48:35 +0100 Subject: [PATCH] Fix copy-paste issue Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --- src/SlashCommands.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SlashCommands.js b/src/SlashCommands.js index 65f7f008f6..21c837030b 100644 --- a/src/SlashCommands.js +++ b/src/SlashCommands.js @@ -271,7 +271,7 @@ export const CommandMap = { return success(promise.then((url) => { if (!url) return; - return MatrixClientPeg.get().sendStateEvent(this.props.roomId, 'm.room.avatar', {url}, ''); + return MatrixClientPeg.get().sendStateEvent(roomId, 'm.room.avatar', {url}, ''); })); }, category: CommandCategories.actions,