mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-06 04:15:46 +08:00
cache
This commit is contained in:
parent
a927215197
commit
b7de5c46cf
@ -634,7 +634,7 @@ func (s *groupServer) JoinGroup(ctx context.Context, req *pbGroup.JoinGroupReq)
|
||||
_, err = s.GroupDatabase.TakeGroupMember(ctx, req.GroupID, req.InviterUserID)
|
||||
if err == nil {
|
||||
return nil, errs.ErrArgs.Wrap("already in group")
|
||||
} else if !s.IsNotFound(err) {
|
||||
} else if !s.IsNotFound(err) && utils.Unwrap(err) != errs.ErrRecordNotFound {
|
||||
return nil, err
|
||||
}
|
||||
resp = &pbGroup.JoinGroupResp{}
|
||||
|
Loading…
x
Reference in New Issue
Block a user