mirror of
https://gitee.com/gitea/gitea
synced 2025-11-08 18:40:24 +08:00
#3348 always use relative avatar link in the template
This commit is contained in:
@@ -77,7 +77,7 @@ func retrieveFeeds(ctx *context.Context, ctxUser *models.User, userID, offset in
|
||||
ctx.Handle(500, "GetUserByName", err)
|
||||
return
|
||||
}
|
||||
unameAvatars[act.ActUserName] = u.AvatarLink()
|
||||
unameAvatars[act.ActUserName] = u.RelAvatarLink()
|
||||
}
|
||||
|
||||
act.ActAvatar = unameAvatars[act.ActUserName]
|
||||
|
||||
Reference in New Issue
Block a user