mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-07 18:49:29 +02:00
#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:
1 parent
632c27802c
commit
2765b5c7cf
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user