Parcourir la source

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

tags/v1.3.0-rc1
cstyles il y a 6 ans
Parent
révision
b0b24a2dbb
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1
    1
      models/action.go

+ 1
- 1
models/action.go Voir le fichier

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

Chargement…
Annuler
Enregistrer