mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-23 14:41:08 +00:00
Explicitly set userid for PGP sign key
This commit is contained in:
parent
28969048e8
commit
d8ad5e4095
1 changed files with 3 additions and 0 deletions
|
@ -2704,6 +2704,9 @@ public class FragmentCompose extends FragmentBase {
|
||||||
if (identity == null)
|
if (identity == null)
|
||||||
throw new IllegalArgumentException(context.getString(R.string.title_from_missing));
|
throw new IllegalArgumentException(context.getString(R.string.title_from_missing));
|
||||||
|
|
||||||
|
if (OpenPgpApi.ACTION_GET_SIGN_KEY_ID.equals(data.getAction()))
|
||||||
|
data.putExtra(OpenPgpApi.EXTRA_USER_ID, identity.email.toLowerCase(Locale.ROOT));
|
||||||
|
|
||||||
// Create files
|
// Create files
|
||||||
File tmp = new File(context.getFilesDir(), "encryption");
|
File tmp = new File(context.getFilesDir(), "encryption");
|
||||||
if (!tmp.exists())
|
if (!tmp.exists())
|
||||||
|
|
Loading…
Reference in a new issue