Commit 0e87b8fc authored by Imre Farkas's avatar Imre Farkas

Merge branch 'centralize-avatar-size' into 'master'

Centralize avatar size

See merge request gitlab-org/gitlab!75967
parents 867ac4fe 46b6c272
......@@ -8,7 +8,7 @@ class GravatarService
return unless identifier
hash = Digest::MD5.hexdigest(identifier.strip.downcase)
size = 40 unless size && size > 0
size = Groups::GroupMembersHelper::AVATAR_SIZE unless size && size > 0
sprintf gravatar_url,
hash: hash,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment