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.