mirror of
https://github.com/Mrs4s/MiraiGo.git
synced 2025-05-04 19:17:38 +08:00
fix data.
This commit is contained in:
parent
bebbc838c8
commit
cad8dcb736
@ -365,7 +365,7 @@ func decodeMsgSyncResponse(c *QQClient, _ uint16, payload []byte) (interface{},
|
|||||||
}
|
}
|
||||||
ret.GroupSessions = append(ret.GroupSessions, &GroupSessionInfo{
|
ret.GroupSessions = append(ret.GroupSessions, &GroupSessionInfo{
|
||||||
GroupCode: int64(gmRsp.GetGroupCode()),
|
GroupCode: int64(gmRsp.GetGroupCode()),
|
||||||
UnreadCount: uint32(gmRsp.GetReturnEndSeq() - gmRsp.GetReturnBeginSeq()), // todo fix this
|
UnreadCount: uint32(gmRsp.GetReturnEndSeq() - gm.GetMemberSeq()),
|
||||||
LatestMessages: latest,
|
LatestMessages: latest,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user