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

release/v1.15
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
1 changed files with 1 additions and 1 deletions

View File

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