From 76ad83f05e9fa08a78eda5142ee339bee2471acd Mon Sep 17 00:00:00 2001 From: Gusted Date: Wed, 24 Nov 2021 08:53:18 +0000 Subject: [PATCH] backport: use correct sender on title change (#17792) --- modules/notification/webhook/webhook.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/notification/webhook/webhook.go b/modules/notification/webhook/webhook.go index c767acf13..55169be3b 100644 --- a/modules/notification/webhook/webhook.go +++ b/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), }) }