0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-22 23:33:15 -05:00

Use RelAvatarLink() in GetActAvatar() (#2800)

This commit is contained in:
cstyles 2017-10-31 01:08:23 -07:00 committed by Lunny Xiao
parent 82fc50f4ee
commit b0b24a2dbb

View file

@ -141,7 +141,7 @@ func (a *Action) ShortActUserName() string {
// GetActAvatar the action's user's avatar link
func (a *Action) GetActAvatar() string {
a.loadActUser()
return a.ActUser.AvatarLink()
return a.ActUser.RelAvatarLink()
}
// GetRepoUserName returns the name of the action repository owner.