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

fix private msg delay.

This commit is contained in:
Mrs4s 2020-11-14 15:56:44 +08:00
parent b813765774
commit 90ec60bcb8
2 changed files with 0 additions and 3 deletions

View File

@ -87,7 +87,6 @@ type QQClient struct {
eventHandlers *eventHandlers
groupListLock sync.Mutex
msgSvcLock sync.Mutex
}
type loginSigInfo struct {

View File

@ -426,8 +426,6 @@ func decodeMsgSendResponse(c *QQClient, _ uint16, payload []byte) (interface{},
// MessageSvc.PushNotify
func decodeSvcNotify(c *QQClient, _ uint16, _ []byte) (interface{}, error) {
c.msgSvcLock.Lock()
defer c.msgSvcLock.Unlock()
_, err := c.sendAndWait(c.buildGetMessageRequestPacket(msg.SyncFlag_START, time.Now().Unix()))
return nil, err
}