mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-27 19:35:10 +01:00
Check for any/all PGP or S/MIME keys
This commit is contained in:
@@ -344,9 +344,9 @@ public class EditTextMultiAutoComplete extends AppCompatMultiAutoCompleteTextVie
|
||||
public void run() {
|
||||
try {
|
||||
int has = 0;
|
||||
if (PgpHelper.hasPgpKey(context, recipient))
|
||||
if (PgpHelper.hasPgpKey(context, recipient, true))
|
||||
has |= 1;
|
||||
if (SmimeHelper.hasSmimeKey(context, recipient))
|
||||
if (SmimeHelper.hasSmimeKey(context, recipient, true))
|
||||
has |= 2;
|
||||
encryption.put(email, has);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user