feat: detect XCHATMAIL capability and expose it as is_chatmail config

This commit is contained in:
link2xt
2024-05-14 19:43:44 +00:00
parent 07ceabdf85
commit eec1062619
8 changed files with 44 additions and 12 deletions

View File

@@ -254,6 +254,9 @@ pub enum Config {
/// True if account is configured.
Configured,
/// True if account is a chatmail account.
IsChatmail,
/// All secondary self addresses separated by spaces
/// (`addr1@example.org addr2@example.org addr3@example.org`)
SecondaryAddrs,