mirror of
https://github.com/moparisthebest/k-9
synced 2025-01-12 14:18:02 -05:00
Merge pull request #466 from thi/fix-apg-legacy-encryption
Fix APG legacy encryption
This commit is contained in:
commit
8e078bc014
@ -1975,6 +1975,16 @@ public class MessageCompose extends K9Activity implements OnClickListener,
|
|||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (mPgpData.hasEncryptionKeys() || mPgpData.hasSignatureKey()) {
|
||||||
|
if (mPgpData.getEncryptedData() == null) {
|
||||||
|
String text = buildText(false).getText();
|
||||||
|
mPreventDraftSaving = true;
|
||||||
|
crypto.encrypt(this, text, mPgpData);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
sendMessage();
|
sendMessage();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user