1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-23 18:02:15 -05:00

Fix APG legacy encryption

This commit is contained in:
Thialfihar 2014-04-09 19:45:37 +02:00
parent 5640dece0f
commit b765988423

View File

@ -1975,6 +1975,16 @@ public class MessageCompose extends K9Activity implements OnClickListener,
}
return;
}
if (mPgpData.hasEncryptionKeys() || mPgpData.hasSignatureKey()) {
if (mPgpData.getEncryptedData() == null) {
String text = buildText(false).getText();
mPreventDraftSaving = true;
crypto.encrypt(this, text, mPgpData);
return;
}
}
}
sendMessage();