1
0
Fork 0
forked from forgejo/forgejo

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

This commit is contained in:
Unknwon 2016-08-07 10:13:05 -07:00
parent 2772791fda
commit ec92565f23
8 changed files with 32 additions and 27 deletions

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 {