mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-11-05 11:52:10 +08:00
fix: fix group getGroupMemberIDs is 0 err
This commit is contained in:
parent
13f0c1f2b6
commit
faa2bbb204
@ -391,7 +391,7 @@ func (s *groupServer) InviteUserToGroup(ctx context.Context, req *pbgroup.Invite
|
|||||||
}
|
}
|
||||||
|
|
||||||
if group.Status == constant.GroupStatusDismissed {
|
if group.Status == constant.GroupStatusDismissed {
|
||||||
return nil, errs.Wrap(errors.New("group dismissed"), "checking group status found it dismissed")
|
return nil, errs.ErrDismissedAlready.Wrap("group dismissed checking group status found it dismissed")
|
||||||
}
|
}
|
||||||
|
|
||||||
userMap, err := s.User.GetUsersInfoMap(ctx, req.InvitedUserIDs)
|
userMap, err := s.User.GetUsersInfoMap(ctx, req.InvitedUserIDs)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user