From 67084129cddae87f9111767973c21eaaadc99611 Mon Sep 17 00:00:00 2001 From: Him188 <Him188@mamoe.net> Date: Mon, 13 Apr 2020 10:18:31 +0800 Subject: [PATCH] Ignore ClearCountMsg --- .../network/protocol/packet/chat/receive/OnlinePush.kt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/protocol/packet/chat/receive/OnlinePush.kt b/mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/protocol/packet/chat/receive/OnlinePush.kt index 0b22a9401..272dfc0b6 100644 --- a/mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/protocol/packet/chat/receive/OnlinePush.kt +++ b/mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/protocol/packet/chat/receive/OnlinePush.kt @@ -422,11 +422,16 @@ internal class OnlinePush { 0x44L to lambda528 { bot -> val msg = vProtobuf.loadAs(Submsgtype0x44.Submsgtype0x44.MsgBody.serializer()) when { + msg.msgCleanCountMsg != null -> { + + } msg.msgFriendMsgSync != null -> { } + else -> { + bot.network.logger.debug { "OnlinePush528 0x44L: " + msg._miraiContentToString() } + } } - bot.network.logger.debug { "OnlinePush528 0x44L: " + msg._miraiContentToString() } return@lambda528 emptySequence() }, // bot 在其他客户端被踢或主动退出而同步情况