mirror of
https://github.com/Mrs4s/MiraiGo.git
synced 2025-07-05 22:03:26 +00:00
fix private msg delay.
This commit is contained in:
@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user