feat: Remove "Delete Messages from Server" (delete_server_after) config option, second try

This commit is contained in:
Hocuri
2026-05-13 21:55:55 +02:00
parent 4bdc3c29ed
commit 34e823b553
23 changed files with 405 additions and 402 deletions

View File

@@ -1232,11 +1232,12 @@ def test_leave_and_delete_group(acfactory, log):
def test_immediate_autodelete(acfactory, direct_imap, log):
"""
`bcc_self` is off by default,
so that messages are supposed to be immediately autodeleted
"""
ac1, ac2 = acfactory.get_online_accounts(2)
# "1" means delete immediately, while "0" means do not delete
ac2.set_config("delete_server_after", "1")
log.section("ac1: create chat with ac2")
chat1 = ac1.create_chat(ac2)
ac2.create_chat(ac1)