From 3bb0d26d3fe230a329fe45f76d6dda4b91c9b262 Mon Sep 17 00:00:00 2001 From: Bruno Windels <274386+bwindels@users.noreply.github.com> Date: Fri, 10 Feb 2023 16:17:47 +0100 Subject: [PATCH] fix missing msgtype on emote --- src/domain/session/room/RoomViewModel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() {