Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
0e87b8fc
Commit
0e87b8fc
authored
Dec 17, 2021
by
Imre Farkas
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'centralize-avatar-size' into 'master'
Centralize avatar size See merge request gitlab-org/gitlab!75967
parents
867ac4fe
46b6c272
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
app/services/gravatar_service.rb
app/services/gravatar_service.rb
+1
-1
No files found.
app/services/gravatar_service.rb
View file @
0e87b8fc
...
...
@@ -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
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment