Sync on granting contacts permissions

This commit is contained in:
M66B
2018-12-08 09:17:18 +01:00
parent eb7754974f
commit e310c43bf2
2 changed files with 14 additions and 0 deletions

View File

@@ -39,6 +39,9 @@ public interface DaoFolder {
" ORDER BY CASE WHEN folder.type = '" + EntityFolder.USER + "' THEN 1 ELSE 0 END")
List<EntityFolder> getFolders(long account, boolean synchronize);
@Query("SELECT * FROM folder WHERE synchronize")
List<EntityFolder> getFoldersSynchronizing();
@Query("SELECT * FROM folder WHERE unified")
List<EntityFolder> getUnifiedFolders();