mirror of
https://github.com/Mrs4s/MiraiGo.git
synced 2025-05-05 03:23:50 +08:00
fix msg svc.
This commit is contained in:
parent
ad5531c3db
commit
ad43b3f471
@ -188,7 +188,7 @@ func decodeMessageSvcPacket(c *QQClient, _ uint16, payload []byte) (interface{},
|
|||||||
if (int64(pairMsg.LastReadTime) & 4294967295) > int64(message.Head.MsgTime) {
|
if (int64(pairMsg.LastReadTime) & 4294967295) > int64(message.Head.MsgTime) {
|
||||||
continue
|
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 {
|
if _, ok := c.msgSvcCache.Get(strKey); ok {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user