Browse Source

backport: use correct sender on title change (#17792)

tags/v1.15.7
Gusted 4 years ago committed by GitHub
parent
commit
76ad83f05e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      modules/notification/webhook/webhook.go

2
modules/notification/webhook/webhook.go

@ -212,7 +212,7 @@ func (m *webhookNotifier) NotifyIssueChangeTitle(doer *models.User, issue *model
},
Issue: convert.ToAPIIssue(issue),
Repository: convert.ToRepo(issue.Repo, mode),
Sender: convert.ToUser(issue.Poster, nil),
Sender: convert.ToUser(doer, nil),
})
}

Loading…
Cancel
Save