Merge pull request #1029 from vector-im/bwindels/fix-1014

fix missing msgtype on emote
This commit is contained in:
Bruno Windels 2023-02-10 16:31:08 +01:00 committed by GitHub
commit 3720de36bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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}"`)); this.reportError(new Error(`no command name "${commandName}". To send the message instead of executing, please type "/${message}"`));
message = undefined; message = undefined;
} }
return {type: msgtype, message: message}; return {msgtype, message: message};
} }
_pickAndSendFile() { _pickAndSendFile() {