feat: improve logging around IMAP IDLE

This commit is contained in:
link2xt
2025-01-27 22:58:44 +00:00
committed by l
parent 3b6369a8c8
commit 14d048bea8
3 changed files with 24 additions and 13 deletions

View File

@@ -1983,7 +1983,7 @@ def test_fetch_deleted_msg(acfactory, lp):
if ev.name == "DC_EVENT_MSGS_CHANGED":
pytest.fail("A deleted message was shown to the user")
if ev.name == "DC_EVENT_INFO" and "INBOX: Idle entering wait-on-remote state" in ev.data2:
if ev.name == "DC_EVENT_INFO" and 'IDLE entering wait-on-remote state in folder "INBOX".' in ev.data2:
break # DC is done with reading messages