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:
parent
b813765774
commit
90ec60bcb8
@ -87,7 +87,6 @@ type QQClient struct {
|
||||
eventHandlers *eventHandlers
|
||||
|
||||
groupListLock sync.Mutex
|
||||
msgSvcLock sync.Mutex
|
||||
}
|
||||
|
||||
type loginSigInfo struct {
|
||||
|
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user