mirror of
https://github.com/Mrs4s/MiraiGo.git
synced 2025-05-04 19:17:38 +08:00
fix sync again.
This commit is contained in:
parent
bb4a8e659c
commit
7a3c8fd7f4
@ -798,7 +798,7 @@ func decodeOnlinePushReqPacket(c *QQClient, seq uint16, payload []byte) (interfa
|
|||||||
func() {
|
func() {
|
||||||
groupJoinLock.Lock()
|
groupJoinLock.Lock()
|
||||||
defer groupJoinLock.Unlock()
|
defer groupJoinLock.Unlock()
|
||||||
if s44.GroupSyncMsg.GetMsgType() == 3 && s44.GroupSyncMsg.GetGrpCode() != 0 { // member sync
|
if s44.GroupSyncMsg.GetGrpCode() != 0 { // member sync
|
||||||
c.Debug("syncing members.")
|
c.Debug("syncing members.")
|
||||||
if group := c.FindGroup(s44.GroupSyncMsg.GetGrpCode()); group != nil {
|
if group := c.FindGroup(s44.GroupSyncMsg.GetGrpCode()); group != nil {
|
||||||
var lastJoinTime int64 = 0
|
var lastJoinTime int64 = 0
|
||||||
@ -818,9 +818,9 @@ func decodeOnlinePushReqPacket(c *QQClient, seq uint16, payload []byte) (interfa
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
}
|
||||||
c.Debug("syncing groups.")
|
c.Debug("syncing groups.")
|
||||||
old := c.GroupList
|
old := c.GroupList
|
||||||
any := func(code int64) bool {
|
any := func(code int64) bool {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user