diff --git a/blivedm b/blivedm index 8bf5055..438d7ac 160000 --- a/blivedm +++ b/blivedm @@ -1 +1 @@ -Subproject commit 8bf5055fcb38668208fb0c75a4e0d75f2802ecea +Subproject commit 438d7ac89dafdcc278d45f3a62c46d0583f1d060 diff --git a/frontend/src/api/chat/ChatClientDirectOpenLive.js b/frontend/src/api/chat/ChatClientDirectOpenLive.js index c11155a..bac9a0d 100644 --- a/frontend/src/api/chat/ChatClientDirectOpenLive.js +++ b/frontend/src/api/chat/ChatClientDirectOpenLive.js @@ -342,6 +342,7 @@ export default class ChatClientDirectOpenLive extends ChatClientOfficialBase { const CMD_CALLBACK_MAP = { LIVE_OPEN_PLATFORM_INTERACTION_END: ChatClientDirectOpenLive.prototype.interactionEndCallback, LIVE_OPEN_PLATFORM_DM: ChatClientDirectOpenLive.prototype.dmCallback, + LIVE_OPEN_PLATFORM_DM_MIRROR: ChatClientDirectOpenLive.prototype.dmCallback, LIVE_OPEN_PLATFORM_SEND_GIFT: ChatClientDirectOpenLive.prototype.sendGiftCallback, LIVE_OPEN_PLATFORM_GUARD: ChatClientDirectOpenLive.prototype.guardCallback, LIVE_OPEN_PLATFORM_SUPER_CHAT: ChatClientDirectOpenLive.prototype.superChatCallback, diff --git a/frontend/src/api/chat/ChatClientDirectWeb.js b/frontend/src/api/chat/ChatClientDirectWeb.js index 2555bdc..b60d5ee 100644 --- a/frontend/src/api/chat/ChatClientDirectWeb.js +++ b/frontend/src/api/chat/ChatClientDirectWeb.js @@ -252,6 +252,7 @@ export default class ChatClientDirectWeb extends ChatClientOfficialBase { const CMD_CALLBACK_MAP = { DANMU_MSG: ChatClientDirectWeb.prototype.danmuMsgCallback, + DANMU_MSG_MIRROR: ChatClientDirectWeb.prototype.danmuMsgCallback, SEND_GIFT: ChatClientDirectWeb.prototype.sendGiftCallback, USER_TOAST_MSG_V2: ChatClientDirectWeb.prototype.userToastV2Callback, SUPER_CHAT_MESSAGE: ChatClientDirectWeb.prototype.superChatMessageCallback,