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

tokarchuk/v1.17
cstyles 7 years ago committed by Lunny Xiao
parent 82fc50f4ee
commit b0b24a2dbb
  1. 2
      models/action.go

@ -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.

Loading…
Cancel
Save