mirror of https://github.com/go-gitea/gitea.git
Use RelAvatarLink() in GetActAvatar() (#2800)
This commit is contained in:
parent
82fc50f4ee
commit
b0b24a2dbb
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue