mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-01 04:35:57 +00:00
Send without encryption when no key confirmed
This commit is contained in:
parent
da839c8857
commit
d139c72bba
1 changed files with 4 additions and 0 deletions
|
@ -1434,6 +1434,10 @@ public class FragmentCompose extends FragmentBase {
|
||||||
if (BuildConfig.DEBUG || BuildConfig.BETA_RELEASE)
|
if (BuildConfig.DEBUG || BuildConfig.BETA_RELEASE)
|
||||||
Log.i("Keys=" + pgpKeyIds.length);
|
Log.i("Keys=" + pgpKeyIds.length);
|
||||||
|
|
||||||
|
// Send without encryption
|
||||||
|
if (pgpKeyIds.length == 0)
|
||||||
|
return null;
|
||||||
|
|
||||||
// Get encrypt key
|
// Get encrypt key
|
||||||
Intent intent = new Intent(OpenPgpApi.ACTION_GET_KEY);
|
Intent intent = new Intent(OpenPgpApi.ACTION_GET_KEY);
|
||||||
intent.putExtra(OpenPgpApi.EXTRA_KEY_ID, pgpKeyIds[0]);
|
intent.putExtra(OpenPgpApi.EXTRA_KEY_ID, pgpKeyIds[0]);
|
||||||
|
|
Loading…
Reference in a new issue