mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-30 05:44:51 +02:00
Navigate to single system folder
This commit is contained in:
@@ -219,7 +219,10 @@ public interface DaoFolder {
|
||||
" WHERE account = :account AND type = :type")
|
||||
EntityFolder getFolderByType(long account, String type);
|
||||
|
||||
@Query("SELECT * FROM folder WHERE type = :type")
|
||||
@Query("SELECT folder.* FROM folder" +
|
||||
" JOIN account ON account.id = folder.account" +
|
||||
" WHERE account.synchronize" +
|
||||
" AND type = :type")
|
||||
List<EntityFolder> getFoldersByType(String type);
|
||||
|
||||
@Query("SELECT folder.* FROM folder" +
|
||||
|
||||
Reference in New Issue
Block a user