From 55a111090f9d77bf9a6de0e508a5eea6f773fce7 Mon Sep 17 00:00:00 2001 From: M66B Date: Wed, 24 Apr 2019 12:24:53 +0200 Subject: [PATCH] Remove uuids --- app/src/main/java/eu/faircode/email/FragmentCompose.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/FragmentCompose.java b/app/src/main/java/eu/faircode/email/FragmentCompose.java index 0da863a09b..fd0cbb2d84 100644 --- a/app/src/main/java/eu/faircode/email/FragmentCompose.java +++ b/app/src/main/java/eu/faircode/email/FragmentCompose.java @@ -1315,13 +1315,18 @@ public class FragmentCompose extends FragmentBase { intent.putExtra(OpenPgpApi.EXTRA_SIGN_KEY_ID, data.getLongExtra(OpenPgpApi.EXTRA_SIGN_KEY_ID, -1)); intent.putExtra(OpenPgpApi.EXTRA_REQUEST_ASCII_ARMOR, true); encrypt(intent); - } else + } else { + data.removeExtra(OpenPgpApi.EXTRA_CALL_UUID1); + data.removeExtra(OpenPgpApi.EXTRA_CALL_UUID2); encrypt(data); + } } } else if (requestCode == ActivityCompose.REQUEST_ENCRYPT || requestCode == ActivityCompose.REQUEST_SIGN) { if (data != null) { if (BuildConfig.BETA_RELEASE) Log.logExtras(data); + data.removeExtra(OpenPgpApi.EXTRA_CALL_UUID1); + data.removeExtra(OpenPgpApi.EXTRA_CALL_UUID2); encrypt(data); } } else {