Format message lines starting with > as quotes

This makes quotes created by user display properly in other MUAs like
Thunderbird and not start with space in MUAs that don't support format=flowed.

To distinguish user-created quotes from top-quote inserted by Delta
Chat, a newline is inserted if there is no top-quote and the first
line starts with ">".

Nested quotes are not supported, e.g. line starting with "> >" will
start with ">" on the next line if wrapped.
This commit is contained in:
link2xt
2022-06-17 23:09:25 +00:00
parent 377fa01e98
commit 525b04e69e
4 changed files with 71 additions and 29 deletions

View File

@@ -6,6 +6,7 @@
- limit the rate of MDN sending #3402
- ignore ratelimits for bots #3439
- remove `msgs_mdns` references to deleted messages during housekeeping #3387
- format message lines starting with `>` as quotes #3434
### Fixes
- set a default error if NDN does not provide an error