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

change msg svc cache time.

This commit is contained in:
Mrs4s 2020-11-16 17:53:53 +08:00
parent 6b9dd7feaa
commit c0ec373de5

View File

@ -281,7 +281,7 @@ func decodeMessageSvcPacket(c *QQClient, _ uint16, payload []byte) (interface{},
if _, ok := c.msgSvcCache.Get(strKey); ok {
continue
}
c.msgSvcCache.Add(strKey, "", time.Second*15)
c.msgSvcCache.Add(strKey, "", time.Minute)
switch message.Head.MsgType {
case 33: // 加群同步
groupJoinLock.Lock()