From 5283843b13006444d8b08b8689afe9fde91d7c2f Mon Sep 17 00:00:00 2001 From: Him188 Date: Fri, 27 Aug 2021 18:07:33 +0800 Subject: [PATCH] Ignore `NewContact.SystemMsgNewGroup, subType=5, groupMsgType=16`, fix #1467 --- .../network/notice/group/GroupOrMemberListNoticeProcessor.kt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mirai-core/src/commonMain/kotlin/network/notice/group/GroupOrMemberListNoticeProcessor.kt b/mirai-core/src/commonMain/kotlin/network/notice/group/GroupOrMemberListNoticeProcessor.kt index 6163541571c..70cdf7fa687 100644 --- a/mirai-core/src/commonMain/kotlin/network/notice/group/GroupOrMemberListNoticeProcessor.kt +++ b/mirai-core/src/commonMain/kotlin/network/notice/group/GroupOrMemberListNoticeProcessor.kt @@ -275,6 +275,10 @@ internal class GroupOrMemberListNoticeProcessor( // > 这是历史的群系统消息,实际上可以直接进行忽略,其实只是因为缺失了忽略的处理而已 // https://github.com/mamoe/mirai/issues/1171#issuecomment-907075637 } + 16 -> { + // #1467 + // 历史消息同步 + } else -> { throw contextualBugReportException( "解析 NewContact.SystemMsgNewGroup, subType=5, groupMsgType=$groupMsgType",