mirror of
https://github.com/Mrs4s/MiraiGo.git
synced 2025-05-04 19:17:38 +08:00
fix loop.
This commit is contained in:
parent
f584f21b81
commit
da97c928af
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user