Skip to content

Commit 59d80d0

Browse files
committed
Reduce AvatarRenderedSizeFactor to 3
Save a bit of bandwidth by only requesting 3-times the rendered avatar size. Factor 4 is only really beneficial on a handful of mobile phones and I don't think they are the primary device we design for. Fixes: #17422 Fixes: #16287
1 parent 3ca5dc7 commit 59d80d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

models/avatars/avatar.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import (
2222
const DefaultAvatarPixelSize = 28
2323

2424
// AvatarRenderedSizeFactor is the factor by which the default size is increased for finer rendering
25-
const AvatarRenderedSizeFactor = 4
25+
const AvatarRenderedSizeFactor = 3
2626

2727
// EmailHash represents a pre-generated hash map (mainly used by LibravatarURL, it queries email server's DNS records)
2828
type EmailHash struct {

0 commit comments

Comments
 (0)