mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00: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:
@@ -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