fix missing msgtype on emote

This commit is contained in:
Bruno Windels 2023-02-10 16:17:47 +01:00
parent 551a9e0bc8
commit 3bb0d26d3f

View File

@ -292,7 +292,7 @@ export class RoomViewModel extends ErrorReportViewModel {
this.reportError(new Error(`no command name "${commandName}". To send the message instead of executing, please type "/${message}"`));
message = undefined;
}
return {type: msgtype, message: message};
return {msgtype, message: message};
}
_pickAndSendFile() {