1
0
mirror of https://github.com/Mrs4s/MiraiGo.git synced 2025-05-04 11:07:40 +08:00

remove group sync.

This commit is contained in:
Mrs4s 2020-12-02 20:54:00 +08:00
parent 28c99f5587
commit a407d93453

View File

@ -775,24 +775,6 @@ func decodeOnlinePushReqPacket(c *QQClient, seq uint16, payload []byte) (interfa
}
}
}
return
}
}
c.Debug("syncing groups.")
old := c.GroupList
any := func(code int64) bool {
for _, g := range old {
if g.Code == code {
return true
}
}
return false
}
if err := c.ReloadGroupList(); err == nil {
for _, g := range c.GroupList {
if !any(g.Code) {
c.dispatchJoinGroupEvent(g)
}
}
}
}()