summaryrefslogtreecommitdiffstats
path: root/models/pull.go
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2016-08-07 10:13:05 -0700
committerUnknwon <u@gogs.io>2016-08-07 10:13:05 -0700
commitec92565f234deb75ea8df0c30a8772c4cd72bc2d (patch)
tree3b0f4885e1d9ab1afa1352a98f36f1ae702166c7 /models/pull.go
parent2772791fdad8f0ec4ae49aad020f8afdff2f9c46 (diff)
downloadgitea-ec92565f234deb75ea8df0c30a8772c4cd72bc2d.tar.gz
gitea-ec92565f234deb75ea8df0c30a8772c4cd72bc2d.zip
#3393 fix missing sub-url prefix in relative avatar link
Diffstat (limited to 'models/pull.go')
-rw-r--r--models/pull.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/pull.go b/models/pull.go
index 78c8d15644..f5198d8712 100644
--- a/models/pull.go
+++ b/models/pull.go
@@ -246,7 +246,7 @@ func (pr *PullRequest) Merge(doer *User, baseGitRepo *git.Repository) (err error
Sender: &api.PayloadUser{
UserName: doer.Name,
ID: doer.ID,
- AvatarUrl: setting.AppUrl + doer.RelAvatarLink(),
+ AvatarUrl: doer.AvatarLink(),
},
}
if err = PrepareWebhooks(pr.BaseRepo, HOOK_EVENT_PUSH, p); err != nil {