This commit is contained in:
Hocuri
2026-05-06 14:23:07 +02:00
parent 6ad3f80d8d
commit 8ff255e367
3 changed files with 1 additions and 8 deletions

View File

@@ -17,7 +17,6 @@ def test_moved_markseen(acfactory, direct_imap, log):
log.section("ac2: creating DeltaChat folder")
ac2_direct_imap = direct_imap(ac2)
ac2_direct_imap.create_folder("DeltaChat")
# ac2.set_config("delete_server_after", "0") # TODO check if this causes a test failure
ac2.set_config("sync_msgs", "0") # Do not send a sync message when accepting a contact request.
ac2.add_or_update_transport({"addr": addr, "password": password, "imapFolder": "DeltaChat"})
@@ -57,11 +56,6 @@ def test_moved_markseen(acfactory, direct_imap, log):
def test_markseen_message_and_mdn(acfactory, direct_imap):
ac1, ac2 = acfactory.get_online_accounts(2)
for ac in ac1, ac2:
# TODO check if this causes a test failure
# ac.set_config("delete_server_after", "0")
pass
# Do not send BCC to self, we only want to test MDN on ac1.
ac1.set_config("bcc_self", "0")

View File

@@ -648,7 +648,6 @@ pub(crate) async fn ephemeral_loop(context: &Context, interrupt_receiver: Receiv
}
/// Schedules expired IMAP messages for deletion.
#[expect(clippy::arithmetic_side_effects)]
pub(crate) async fn delete_expired_imap_messages(context: &Context) -> Result<()> {
let now = time();
context

View File

@@ -1395,7 +1395,7 @@ impl Session {
context
.sql
.execute(
&format!("UPDATE imap SET target='' WHERE rfc724_mid=?"),
"UPDATE imap SET target='' WHERE rfc724_mid=?",
(rfc724_mid,),
)
.await?;