mirror of https://github.com/M66B/FairEmail.git
Skip changing encryption method when no encryption is used
This commit is contained in:
parent
5a017fa5e3
commit
f77042470b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue