Synchronizing accounts by type

This commit is contained in:
M66B
2022-01-27 14:43:55 +01:00
parent 9360d39df8
commit 0868984f8f
13 changed files with 22 additions and 26 deletions

View File

@@ -447,7 +447,7 @@ public class FragmentDialogSearch extends FragmentDialogBase {
DB db = DB.getInstance(context);
EntityAccount account = null;
if (aid < 0) {
List<EntityAccount> accounts = db.account().getSynchronizingAccounts();
List<EntityAccount> accounts = db.account().getSynchronizingAccounts(EntityAccount.TYPE_IMAP);
if (accounts == null)
return null;
for (EntityAccount a : accounts)