1
0
mirror of https://github.com/Mrs4s/MiraiGo.git synced 2025-05-04 11:07:40 +08:00

fix: guild event flow decode error

This commit is contained in:
Mrs4s 2022-12-01 17:07:48 +08:00
parent a30750849d
commit 23f637d295
No known key found for this signature in database
GPG Key ID: 3186E98FA19CE3A7

View File

@ -49,6 +49,9 @@ func decodeGuildEventFlowPacket(c *QQClient, _ *network.IncomingPacketInfo, payl
push.Msgs = press.Msgs
}
for _, m := range push.Msgs {
if m.Head == nil {
continue
}
if m.Head.ContentHead.Type.Unwrap() == 3841 {
// todo: 回头 event flow 的处理移出去重构下逻辑, 先暂时这样方便改
var common *msg.CommonElem