1
0
mirror of https://github.com/Mrs4s/MiraiGo.git synced 2025-05-04 19:17:38 +08:00

fix loop.

This commit is contained in:
Mrs4s 2021-03-12 17:10:03 +08:00
parent f584f21b81
commit da97c928af

View File

@ -388,7 +388,7 @@ func decodeGetGroupMsgResponse(c *QQClient, info *incomingPacketInfo, payload []
builder.MessageSlices = append(builder.MessageSlices, fm.OriginalObject)
}
}
if len(builder.MessageSlices) >= int(m.Content.GetPkgNum()) || data == nil {
if end >= m.Head.GetMsgSeq()+m.Content.GetPkgNum() {
break
}
i = end