Browse Source

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

for-closed-social
cstyles 7 years ago
committed by Lunny Xiao
parent
commit
b0b24a2dbb
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      models/action.go

+ 1
- 1
models/action.go 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.

Loading…
Cancel
Save