#2630 fix wrong user avatar link in webhook

Was using the wrong method and now uses the method which checks if
the avatar link is relative or not.
This commit is contained in:
Unknwon committed 2016-02-15 15:18:53 -05:00
1 parent 632c27802c
commit 2765b5c7cf
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -498,7 +498,7 @@ func CommitRepoAction(
payloadSender := &api.PayloadUser{
UserName: pusher.Name,
ID: pusher.Id,
AvatarUrl: setting.AppUrl + pusher.RelAvatarLink(),
AvatarUrl: pusher.AvatarLink(),
}
switch opType {