1
0
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:
Mrs4s 2021-11-14 22:50:54 +08:00
parent 54b035657c
commit 28e93a7e2c
No known key found for this signature in database
GPG Key ID: 3186E98FA19CE3A7

View File

@ -238,7 +238,7 @@ func msgType0x210Sub44Decoder(c *QQClient, protobuf []byte) error {
} }
groupJoinLock.Lock() groupJoinLock.Lock()
defer groupJoinLock.Unlock() defer groupJoinLock.Unlock()
if s44.GroupSyncMsg.GetGrpCode() != 0 { // member sync if s44.GroupSyncMsg.GetGrpCode() == 0 { // member sync
return errors.New("invalid group code") return errors.New("invalid group code")
} }
c.Debug("syncing members.") c.Debug("syncing members.")