mirror of
https://github.com/chatmail/core.git
synced 2026-04-05 23:22:11 +03:00
prepare_msg_raw: do not set GuaranteeE2ee
This code is inconsistent with EncryptHelper::should_encrypt, which uses quorum rule. UI does not display or use encryption state in-between preparing and sending message anyway. In addition, "sticky encryption" rule, which required all replies to encrypted messages to be encrypted, is dropped. It is going to be restored with the introduction of quoting.
This commit is contained in:
committed by
link2xt
parent
25274f13c3
commit
8c82a5cbfa
@@ -1067,6 +1067,7 @@ class TestOnlineAccount:
|
||||
# Majority prefers encryption now
|
||||
assert msg5.is_encrypted()
|
||||
|
||||
@pytest.mark.xfail(reason="Sticky encryption rule was removed")
|
||||
def test_reply_encrypted(self, acfactory, lp):
|
||||
ac1, ac2 = acfactory.get_two_online_accounts()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user