mirror of
https://github.com/go-gitea/gitea.git
synced 2024-11-27 02:34:31 +08:00
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
Block a user