From 28e93a7e2c5d07482c8c0e5dadc01ce1328df501 Mon Sep 17 00:00:00 2001 From: Mrs4s Date: Sun, 14 Nov 2021 22:50:54 +0800 Subject: [PATCH] fix: sync logic error --- client/online_push.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.")