mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-03 07:36:31 +02:00
Skip changing encryption method when no encryption is used
This commit is contained in:
@@ -5170,7 +5170,8 @@ public class FragmentCompose extends FragmentBase {
|
||||
|
||||
db.message().setMessageUiEncrypt(message.id, encrypt);
|
||||
|
||||
if (message.identity != null) {
|
||||
if (encrypt != EntityMessage.ENCRYPT_NONE &&
|
||||
message.identity != null) {
|
||||
int iencrypt =
|
||||
(encrypt == EntityMessage.SMIME_SIGNONLY ||
|
||||
encrypt == EntityMessage.SMIME_SIGNENCRYPT
|
||||
|
||||
Reference in New Issue
Block a user