api: Deprecate is_chatmail

BREAKING CHANGE: UIs should not behave differently for chatmail relays than for classical email servers; most usages of `is_chatmail` can be replaced by `force_encryption`
This commit is contained in:
Hocuri
2026-06-22 17:48:56 +02:00
parent 0a82d73eb5
commit d1f4e59d82
4 changed files with 15 additions and 2 deletions
+6
View File
@@ -319,6 +319,12 @@ pub enum Config {
/// True if account is configured.
Configured,
/// Deprecated, we are trying to get rid of this global setting.
/// It is possible to configure a profile with both chatmail relays
/// and classical email servers.
///
/// Most usages in UIs can be replaced by `force_encryption`.
///
/// True if account is a chatmail account.
IsChatmail,