api!: remove e2ee_enabled preference

The setting is already removed from the UIs,
but users who had it disabled previously have
no way to enable it. After this change
encryption is effectively always preferred.
This commit is contained in:
link2xt
2025-09-04 05:28:43 +00:00
committed by l
parent 838eed94bc
commit d4704977bc
10 changed files with 23 additions and 86 deletions

View File

@@ -1519,7 +1519,7 @@ impl MimeMessage {
);
return Ok(false);
}
Ok((key, _)) => key,
Ok(key) => key,
};
if let Err(err) = key.verify() {
warn!(context, "Attached PGP key verification failed: {err:#}.");