#3393 fix missing sub-url prefix in relative avatar link

This commit is contained in:
Unknwon committed 2016-08-07 10:13:05 -07:00
1 parent 2772791fda
commit ec92565f23
8 files changed
+32 -27

No files matched your search

+1 -1
View File
@@ -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 {