feat: do not create device messages for IMAP authentication errors

Authentication failures may happen because of internal server errors.
Device message saying "Please check if the email address and the password are correct"
was written for classic email setups when the user knows the password.
For users of chatmail relays this message is not actionable,
but still appears when relay fails to check the password.
This commit is contained in:
link2xt
2026-08-26 13:53:02 +00:00
committed by l
parent 49496756e4
commit 7421e67ab6
8 changed files with 14 additions and 84 deletions
+1 -4
View File
@@ -6672,10 +6672,7 @@ void dc_event_unref(dc_event_t* event);
/// Used as the name for the corresponding chatlist entry.
#define DC_STR_ARCHIVEDCHATS 40
/// "Cannot login as %1$s."
///
/// Used in error strings.
/// - %1$s will be replaced by the failing login name
/// @deprecated 2026-08-24
#define DC_STR_CANNOT_LOGIN 60
/// "Location streaming enabled."