mirror of
https://github.com/Mrs4s/MiraiGo.git
synced 2025-05-04 11:07:40 +08:00
fix build.
This commit is contained in:
parent
739992508b
commit
1d38e8fad3
@ -140,7 +140,7 @@ func NewClientMd5(uin int64, passwordMd5 [16]byte) *QQClient {
|
||||
ksid: []byte("|454001228437590|A8.2.7.27f6ea96"),
|
||||
eventHandlers: &eventHandlers{},
|
||||
groupListLock: new(sync.Mutex),
|
||||
msgSvcCache: utils.NewCache(time.Second * 5),
|
||||
//msgSvcCache: utils.NewCache(time.Second * 5),
|
||||
}
|
||||
rand.Read(cli.RandomKey)
|
||||
return cli
|
||||
|
@ -252,8 +252,7 @@ func decodeMessageSvcPacket(c *QQClient, _ uint16, payload []byte) (interface{},
|
||||
}
|
||||
_, _ = c.sendAndWait(c.buildDeleteMessageRequestPacket(delItems))
|
||||
if rsp.SyncFlag != msg.SyncFlag_STOP {
|
||||
_, nextPkt := c.buildGetMessageRequestPacket(rsp.SyncFlag, time.Now().Unix())
|
||||
_ = c.send(nextPkt)
|
||||
_, _ = c.sendAndWait(c.buildGetMessageRequestPacket(rsp.SyncFlag, time.Now().Unix()))
|
||||
}
|
||||
return nil, err
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user