mirror of
https://github.com/Mrs4s/MiraiGo.git
synced 2025-05-04 11:07:40 +08:00
fix bug.
This commit is contained in:
parent
6b4afcf5d7
commit
e3984eac20
@ -242,7 +242,7 @@ func decodeGroupMessagePacket(c *QQClient, seq uint16, payload []byte) (interfac
|
||||
})
|
||||
return nil, nil
|
||||
}
|
||||
if pkt.Message.Content.PkgNum > 1 {
|
||||
if pkt.Message.Content != nil && pkt.Message.Content.PkgNum > 1 {
|
||||
var builder *groupMessageBuilder
|
||||
i, ok := c.groupMsgBuilders.Load(pkt.Message.Content.DivSeq)
|
||||
if !ok {
|
||||
|
Loading…
x
Reference in New Issue
Block a user