Skip to content

Commit 21f4401

Browse files
author
Gusted
authored
Use correct Sender on webhook change title (#17791)
As title, thanks to @mscherer for pointing out the incorrect code.
1 parent 3d996c8 commit 21f4401

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/notification/webhook/webhook.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ func (m *webhookNotifier) NotifyIssueChangeTitle(doer *models.User, issue *model
214214
},
215215
Issue: convert.ToAPIIssue(issue),
216216
Repository: convert.ToRepo(issue.Repo, mode),
217-
Sender: convert.ToUser(issue.Poster, nil),
217+
Sender: convert.ToUser(doer, nil),
218218
})
219219
}
220220

0 commit comments

Comments
 (0)