Fix copy-paste issue
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
4983378230
commit
f8b1b36051
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue