summaryrefslogtreecommitdiffstats
path: root/modules/repository/commits.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/repository/commits.go')
-rw-r--r--modules/repository/commits.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/repository/commits.go b/modules/repository/commits.go
index e02f3d11ca..fd8b8d927a 100644
--- a/modules/repository/commits.go
+++ b/modules/repository/commits.go
@@ -123,7 +123,7 @@ func (pc *PushCommits) AvatarLink(email string) string {
var err error
u, err = models.GetUserByEmail(email)
if err != nil {
- pc.avatars[email] = models.AvatarLink(email)
+ pc.avatars[email] = models.HashedAvatarLink(email)
if !models.IsErrUserNotExist(err) {
log.Error("GetUserByEmail: %v", err)
return ""