From 80e1b53b635adfe55c976c403edc7e5eb5c60b3b Mon Sep 17 00:00:00 2001 From: sandtechnology Date: Fri, 18 Dec 2020 13:14:10 +0800 Subject: [PATCH] Update nudge template id --- .../protocol/packet/chat/receive/OnlinePush.ReqPush.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mirai-core/src/commonMain/kotlin/network/protocol/packet/chat/receive/OnlinePush.ReqPush.kt b/mirai-core/src/commonMain/kotlin/network/protocol/packet/chat/receive/OnlinePush.ReqPush.kt index 354f5d5ab..c258eed1d 100644 --- a/mirai-core/src/commonMain/kotlin/network/protocol/packet/chat/receive/OnlinePush.ReqPush.kt +++ b/mirai-core/src/commonMain/kotlin/network/protocol/packet/chat/receive/OnlinePush.ReqPush.kt @@ -243,7 +243,7 @@ private object Transformers732 : Map by mapOf( val grayTip = readProtoBuf(TroopTips0x857.NotifyMsgBody.serializer()).optGeneralGrayTip when (grayTip?.templId) { //戳一戳 - 10043L, 1134L, 1135L, 1136L -> { + 10043L, 1133L, 1132L, 1134L, 1135L, 1136L -> { //预置数据,服务器将不会提供己方已知消息 var action = "" var from: Member = group.botAsMember @@ -509,7 +509,7 @@ internal object Transformers528 : Map by mapOf( val body = vProtobuf.loadAs(Submsgtype0x122.Submsgtype0x122.MsgBody.serializer()) when (body.templId) { //戳一戳 - 1134L, 1135L, 1136L, 10043L -> { + 1132L, 1133L, 1134L, 1135L, 1136L, 10043L -> { //预置数据,服务器将不会提供己方已知消息 var from: Friend = bot.asFriend var action = ""