Browse Source

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

release/v1.3
cstyles 5 years ago
committed by Lunny Xiao
parent
commit
b0b24a2dbb
  1. 2
      models/action.go

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