1
0
mirror of https://github.com/Mrs4s/MiraiGo.git synced 2025-05-04 11:07:40 +08:00

fix msg svc.

This commit is contained in:
Mrs4s 2020-09-13 21:30:24 +08:00
parent ad5531c3db
commit ad43b3f471

View File

@ -188,7 +188,7 @@ func decodeMessageSvcPacket(c *QQClient, _ uint16, payload []byte) (interface{},
if (int64(pairMsg.LastReadTime) & 4294967295) > int64(message.Head.MsgTime) {
continue
}
strKey := strconv.FormatInt(message.Head.MsgUid, 10)
strKey := fmt.Sprintf("%d%d%d%d", message.Head.FromUin, message.Head.ToUin, message.Head.MsgSeq, message.Head.MsgUid)
if _, ok := c.msgSvcCache.Get(strKey); ok {
continue
}