]> source.dussan.org Git - gitea.git/commit
Include thread related headers in issue/coment mail (#7484)
authormrsdizzie <info@mrsdizzie.com>
Wed, 17 Jul 2019 19:02:42 +0000 (15:02 -0400)
committertechknowlogick <techknowlogick@gitea.io>
Wed, 17 Jul 2019 19:02:42 +0000 (15:02 -0400)
commit944d904980f7b161a96d5208d59c20004429d126
tree1370357a8e7c22f7a08d04c9c5bfc5146a1778ae
parent5d3e3518645d707d99c6ea244a195b7240782e74
Include thread related headers in issue/coment mail (#7484)

* Include thread related headers in issue/coment mail

Make it so mail programs will group comments from an issue into the same
thread by setting Message-ID on initial issue and then using In-Reply-To
and References headers to reference that later on.

* Add tests

* more tests

* fix typo
models/issue.go
models/mail.go
models/mail_test.go [new file with mode: 0644]