Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-12-11 22:11:58 +01:00
forgejo/services/mailer/incoming
Beowulf 1f08add260
Replace reply with a forked version to fix the cut-off of the incoming mail text (#3747)
replace reply with forgejos forked version

If plain text is selected as the message format in e.g. Apple Mail, the inline attachments are no longer at the end of the mail, but instead directly where they are in the mail. When parsing the mail, these inline attachments are replaced by "--". The new reply version no longer cuts the text at the first "--".

Tests for this are present in reply (7dc5750c6d).

Fixes https://codeberg.org/forgejo/forgejo/issues/3496#issuecomment-1798416

---

Additionally, I reduced the allocations for the inline attachments.
2024-05-13 23:51:40 +02:00
..
payload Replace interface{} with any (#25686) 2023-07-04 18:36:08 +00:00
incoming.go Replace reply with a forked version to fix the cut-off of the incoming mail text (#3747) 2024-05-13 23:51:40 +02:00
incoming_handler.go fix(incoming): allow replies to comments 2024-04-22 22:43:16 +00:00
incoming_test.go Replace reply with a forked version to fix the cut-off of the incoming mail text (#3747) 2024-05-13 23:51:40 +02:00