diff --git a/src/domain/session/room/RoomViewModel.js b/src/domain/session/room/RoomViewModel.js index 5cd610f2..31608a62 100644 --- a/src/domain/session/room/RoomViewModel.js +++ b/src/domain/session/room/RoomViewModel.js @@ -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() {