Fix copy-paste issue

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
pull/21833/head
Michael Telatynski 2019-09-19 09:48:35 +01:00
parent 4983378230
commit f8b1b36051
1 changed files with 1 additions and 1 deletions

View File

@ -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,