gitea/services/mailer
zeripath 1ab44cb01d
Prevent merge messages from being sorted to the top of email chains (#18566)
* Prevent merge messages from being sorted to the top of email chains

Gitea will currrently resend the same message-id for the closed/merged/reopened
messages for issues. This will cause the merged message to leap to the top of an
email chain and become out of sync.

This PR adds specific suffices for these actions.

Fix #18560

Signed-off-by: Andrew Thornton <art27@cantab.net>

* add test

Signed-off-by: Andrew Thornton <art27@cantab.net>
2022-02-03 18:01:16 -05:00
..
mail.go Prevent merge messages from being sorted to the top of email chains (#18566) 2022-02-03 18:01:16 -05:00
mail_comment.go Add config options to hide issue events (#17414) 2022-01-21 18:59:26 +01:00
mail_issue.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
mail_release.go Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
mail_repo.go Unify and simplify TrN for i18n (#18141) 2022-01-02 04:33:57 +01:00
mail_test.go Prevent merge messages from being sorted to the top of email chains (#18566) 2022-02-03 18:01:16 -05:00
mailer.go Pause queues (#15928) 2022-01-22 21:22:14 +00:00
mailer_test.go refactoring nits (#18188) 2022-01-05 07:27:53 +01:00
main_test.go Decouple unit test code from business code (#17623) 2021-11-12 22:36:47 +08:00