summaryrefslogtreecommitdiffstats
path: root/models
diff options
context:
space:
mode:
authorcstyles <collingstyles@gmail.com>2017-10-31 01:08:23 -0700
committerLunny Xiao <xiaolunwen@gmail.com>2017-10-31 16:08:23 +0800
commitb0b24a2dbb8bca7e99e432d383716d6d811b7981 (patch)
tree18dc922ae2d70bb8d12c3f237a8e3e3ecadfaf21 /models
parent82fc50f4ee6c078d669a8d51310c48e450a3886d (diff)
downloadgitea-b0b24a2dbb8bca7e99e432d383716d6d811b7981.tar.gz
gitea-b0b24a2dbb8bca7e99e432d383716d6d811b7981.zip
Use RelAvatarLink() in GetActAvatar() (#2800)
Diffstat (limited to 'models')
-rw-r--r--models/action.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/action.go b/models/action.go
index 81174d112f..ead34dbac2 100644
--- a/models/action.go
+++ b/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.