This commit is contained in:
手瓜一十雪 committed 2024-08-25 23:57:16 +08:00
1 parent 337ac0eab9
commit 5b37ae9026
4 files changed
+11 -11

No files matched your search

+1 -1
View File
@@ -26,7 +26,7 @@ class MarkMsgAsRead extends BaseAction<PlayloadType, null> {
return { chatType: isBuddy ? ChatType.KCHATTYPEC2C : ChatType.KCHATTYPETEMPC2CFROMGROUP, peerUid };
}
if (!payload.group_id) {
throw '缺少参数 group_id 或 user_id';
throw new Error( '缺少参数 group_id 或 user_id');
}
return { chatType: ChatType.KCHATTYPEGROUP, peerUid: payload.group_id.toString() };
}