mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-18 06:53:35 +02:00
Auto reset PGP sign key
This commit is contained in:
@@ -4276,6 +4276,8 @@ public class FragmentCompose extends FragmentBase {
|
||||
throw new IllegalStateException("Unknown action=" + data.getAction());
|
||||
|
||||
case OpenPgpApi.RESULT_CODE_USER_INTERACTION_REQUIRED:
|
||||
if (OpenPgpApi.ACTION_GET_KEY.equals(data.getAction()))
|
||||
db.identity().setIdentitySignKey(identity.id, null);
|
||||
args.putBoolean("interactive", largs.getBoolean("interactive"));
|
||||
return result.getParcelableExtra(OpenPgpApi.RESULT_INTENT);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user