Skip to content

Commit

Permalink
fix: cannot modify group member avatars
Browse files Browse the repository at this point in the history
  • Loading branch information
withchao committed Oct 14, 2024
1 parent f6133dd commit 62f1c14
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions internal/rpc/group/group.go
Original file line number Diff line number Diff line change
Expand Up @@ -1485,9 +1485,6 @@ func (g *groupServer) SetGroupMemberInfo(ctx context.Context, req *pbgroup.SetGr
return nil, errs.ErrNoPermission.WrapMsg("no op user id")
}
isAppManagerUid := authverify.IsAppManagerUid(ctx, g.config.Share.IMAdminUserID)
for i := range req.Members {
req.Members[i].FaceURL = nil
}
groupMembers := make(map[string][]*pbgroup.SetGroupMemberInfo)
for i, member := range req.Members {
if member.RoleLevel != nil {
Expand Down

0 comments on commit 62f1c14

Please sign in to comment.