Skip to content

Commit

Permalink
Fix APG legacy encryption
Browse files Browse the repository at this point in the history
  • Loading branch information
thialfihar committed Apr 9, 2014
1 parent 5640dec commit b765988
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/com/fsck/k9/activity/MessageCompose.java
Expand Up @@ -1975,6 +1975,16 @@ private void performSend() {
}
return;
}

if (mPgpData.hasEncryptionKeys() || mPgpData.hasSignatureKey()) {
if (mPgpData.getEncryptedData() == null) {
String text = buildText(false).getText();
mPreventDraftSaving = true;
crypto.encrypt(this, text, mPgpData);
return;
}
}

}
sendMessage();

Expand Down

0 comments on commit b765988

Please sign in to comment.