mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-08-03 18:02:28 +02:00
mailer: Switch X-Mailer to "Forgejo"
Fixes #3930. Signed-off-by: Gergely Nagy <forgejo@gergo.csillger.hu>
This commit is contained in:
parent
95ccbb5995
commit
887c027ec2
2 changed files with 2 additions and 1 deletions
|
@ -403,7 +403,7 @@ func generateAdditionalHeaders(ctx *mailCommentContext, reason string, recipient
|
|||
// https://datatracker.ietf.org/doc/html/rfc2369
|
||||
"List-Archive": fmt.Sprintf("<%s>", repo.HTMLURL()),
|
||||
|
||||
"X-Mailer": "Gitea",
|
||||
"X-Mailer": "Forgejo",
|
||||
"X-Gitea-Reason": reason,
|
||||
"X-Gitea-Sender": ctx.Doer.Name,
|
||||
"X-Gitea-Recipient": recipient.Name,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue