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

fix data.

This commit is contained in:
Mrs4s 2021-01-31 06:44:30 +08:00
parent bebbc838c8
commit cad8dcb736

View File

@ -365,7 +365,7 @@ func decodeMsgSyncResponse(c *QQClient, _ uint16, payload []byte) (interface{},
}
ret.GroupSessions = append(ret.GroupSessions, &GroupSessionInfo{
GroupCode: int64(gmRsp.GetGroupCode()),
UnreadCount: uint32(gmRsp.GetReturnEndSeq() - gmRsp.GetReturnBeginSeq()), // todo fix this
UnreadCount: uint32(gmRsp.GetReturnEndSeq() - gm.GetMemberSeq()),
LatestMessages: latest,
})
}