diff options
author | Unknwon <u@gogs.io> | 2016-08-07 10:13:05 -0700 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2016-08-07 10:13:05 -0700 |
commit | ec92565f234deb75ea8df0c30a8772c4cd72bc2d (patch) | |
tree | 3b0f4885e1d9ab1afa1352a98f36f1ae702166c7 /models/pull.go | |
parent | 2772791fdad8f0ec4ae49aad020f8afdff2f9c46 (diff) | |
download | gitea-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.go | 2 |
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 { |