mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-11-13 03:02:10 +08:00
fix: fix group getGroupMemberIDs is 0 err
This commit is contained in:
parent
faa2bbb204
commit
30012a7c59
@ -1006,7 +1006,7 @@ func (s *groupServer) SetGroupInfo(ctx context.Context, req *pbgroup.SetGroupInf
|
|||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
if group.Status == constant.GroupStatusDismissed {
|
if group.Status == constant.GroupStatusDismissed {
|
||||||
return nil, errs.Wrap(errors.New("group dismissed"))
|
return nil, errs.ErrDismissedAlready.Wrap("group dismissed")
|
||||||
}
|
}
|
||||||
resp := &pbgroup.SetGroupInfoResp{}
|
resp := &pbgroup.SetGroupInfoResp{}
|
||||||
count, err := s.db.FindGroupMemberNum(ctx, group.GroupID)
|
count, err := s.db.FindGroupMemberNum(ctx, group.GroupID)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user