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

This commit is contained in:
Gusted 2021-11-24 08:53:18 +00:00 committed by GitHub
parent 714ecd9f1e
commit 76ad83f05e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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),
})
}