mirror of
https://github.com/chatmail/core.git
synced 2026-04-05 23:22:11 +03:00
Previously DC_EVENT_ERROR_NETWORK events were emitted for each failed attempt during autoconfiguration, even if eventually configuration succeeded. Such error reports are not useful and often confusing, especially if they report failures to connect to domains that don't exist, such as imap.example.org when mail.example.org should be used. Now DC_EVENT_ERROR_NETWORK is only emitted when attempting to connect with existing IMAP and SMTP configuration already stored in the database. Configuration failure is still indicated by DC_EVENT_CONFIGURE_PROGRESS with data1 set to 0. Python tests from TestOnlineConfigurationFails group are changed to only wait for this event.