mirror of
https://github.com/Mrs4s/MiraiGo.git
synced 2025-05-04 19:17:38 +08:00
fix: guild event flow decode error
This commit is contained in:
parent
a30750849d
commit
23f637d295
@ -49,6 +49,9 @@ func decodeGuildEventFlowPacket(c *QQClient, _ *network.IncomingPacketInfo, payl
|
|||||||
push.Msgs = press.Msgs
|
push.Msgs = press.Msgs
|
||||||
}
|
}
|
||||||
for _, m := range push.Msgs {
|
for _, m := range push.Msgs {
|
||||||
|
if m.Head == nil {
|
||||||
|
continue
|
||||||
|
}
|
||||||
if m.Head.ContentHead.Type.Unwrap() == 3841 {
|
if m.Head.ContentHead.Type.Unwrap() == 3841 {
|
||||||
// todo: 回头 event flow 的处理移出去重构下逻辑, 先暂时这样方便改
|
// todo: 回头 event flow 的处理移出去重构下逻辑, 先暂时这样方便改
|
||||||
var common *msg.CommonElem
|
var common *msg.CommonElem
|
||||||
|
Loading…
x
Reference in New Issue
Block a user