mirror of
https://github.com/Mrs4s/MiraiGo.git
synced 2025-05-04 19:17:38 +08:00
fix: sync logic error
This commit is contained in:
parent
54b035657c
commit
28e93a7e2c
@ -238,7 +238,7 @@ func msgType0x210Sub44Decoder(c *QQClient, protobuf []byte) error {
|
||||
}
|
||||
groupJoinLock.Lock()
|
||||
defer groupJoinLock.Unlock()
|
||||
if s44.GroupSyncMsg.GetGrpCode() != 0 { // member sync
|
||||
if s44.GroupSyncMsg.GetGrpCode() == 0 { // member sync
|
||||
return errors.New("invalid group code")
|
||||
}
|
||||
c.Debug("syncing members.")
|
||||
|
Loading…
x
Reference in New Issue
Block a user