Fix copy-paste issue
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>pull/21833/head
parent
4983378230
commit
f8b1b36051
|
@ -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 New Issue