mirror of
https://github.com/chatmail/core.git
synced 2026-04-05 23:22:11 +03:00
Format plain text as Format=Flowed DelSp=No
This avoids triggering spam filters which require that lines are wrapped to 78 characters.
This commit is contained in:
committed by
link2xt
parent
1325b2f7c6
commit
be922eef0f
@@ -986,7 +986,10 @@ class TestOnlineAccount:
|
||||
chat = acfactory.get_accepted_chat(ac1, ac2)
|
||||
|
||||
lp.sec("sending multi-line non-unicode message from ac1 to ac2")
|
||||
text1 = "hello\nworld"
|
||||
text1 = (
|
||||
"hello\nworld\nthis is a very long message that should be"
|
||||
+ " wrapped using format=flowed and unwrapped on the receiver"
|
||||
)
|
||||
msg_out = chat.send_text(text1)
|
||||
assert not msg_out.is_encrypted()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user