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

fix reply seq

This commit is contained in:
wdvxdr 2022-02-12 16:16:37 +08:00
parent 28637c41be
commit 6692c4acb8
No known key found for this signature in database
GPG Key ID: 703F8C071DE7A1B6

View File

@ -320,7 +320,7 @@ func ParseMessageElems(elems []*msg.Elem) []IMessageElement {
for _, elem := range elems { for _, elem := range elems {
if elem.SrcMsg != nil && len(elem.SrcMsg.OrigSeqs) != 0 { if elem.SrcMsg != nil && len(elem.SrcMsg.OrigSeqs) != 0 {
r := &ReplyElement{ r := &ReplyElement{
ReplySeq: elem.SrcMsg.OrigSeqs[0], ReplySeq: int32(uint16(elem.SrcMsg.OrigSeqs[0])),
Time: elem.SrcMsg.GetTime(), Time: elem.SrcMsg.GetTime(),
Sender: elem.SrcMsg.GetSenderUin(), Sender: elem.SrcMsg.GetSenderUin(),
GroupID: elem.SrcMsg.GetToUin(), GroupID: elem.SrcMsg.GetToUin(),