Fix copy-paste issue

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2019-09-19 09:48:35 +01:00
parent 4983378230
commit f8b1b36051

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,