0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-22 15:34:11 +01: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 // GetActAvatar the action's user's avatar link
func (a *Action) GetActAvatar() string { func (a *Action) GetActAvatar() string {
a.loadActUser() a.loadActUser()
return a.ActUser.AvatarLink() return a.ActUser.RelAvatarLink()
} }
// GetRepoUserName returns the name of the action repository owner. // GetRepoUserName returns the name of the action repository owner.