diff --git a/client/online_push.go b/client/online_push.go index 3ae81598..4f2b9d06 100644 --- a/client/online_push.go +++ b/client/online_push.go @@ -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.")