mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-25 01:06:04 +00:00
Fixed inline decrypt
This commit is contained in:
parent
c1ee8e99de
commit
55fd91b7eb
1 changed files with 2 additions and 1 deletions
|
@ -2699,12 +2699,13 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
|||
}
|
||||
|
||||
private void onActionDecrypt(TupleMessageEx message, boolean auto) {
|
||||
int encrypt = (message.encrypt == null ? EntityMessage.PGP_SIGNENCRYPT /* Inline */ : message.encrypt);
|
||||
LocalBroadcastManager lbm = LocalBroadcastManager.getInstance(context);
|
||||
lbm.sendBroadcast(
|
||||
new Intent(FragmentMessages.ACTION_DECRYPT)
|
||||
.putExtra("id", message.id)
|
||||
.putExtra("auto", auto)
|
||||
.putExtra("type", (int) message.encrypt));
|
||||
.putExtra("type", encrypt));
|
||||
}
|
||||
|
||||
private void onActionReplyMenu(TupleMessageEx message) {
|
||||
|
|
Loading…
Reference in a new issue