mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-06 04:15:46 +08:00
group
This commit is contained in:
parent
94847770bf
commit
5873ed3b51
@ -712,9 +712,8 @@ func (s *groupServer) SetGroupInfo(ctx context.Context, req *pbGroup.SetGroupInf
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
log.ZDebug(ctx, "SetGroupInfo", "userIDs", userIDs)
|
||||
data := UpdateGroupInfoMap(req.GroupInfoForSet)
|
||||
if len(data) > 0 {
|
||||
if len(data) == 0 {
|
||||
return resp, nil
|
||||
}
|
||||
if err := s.GroupDatabase.UpdateGroup(ctx, group.GroupID, data); err != nil {
|
||||
|
Loading…
x
Reference in New Issue
Block a user