Request sync for syncing folders only

pull/147/head
M66B 6 years ago
parent 50b0781ba9
commit 693ca7c85f

@ -51,8 +51,8 @@ public interface DaoOperation {
@Query("SELECT * FROM operation ORDER BY id") @Query("SELECT * FROM operation ORDER BY id")
List<EntityOperation> getOperations(); List<EntityOperation> getOperations();
@Query("SELECT * FROM operation ORDER BY id LIMIT 1") @Query("SELECT * FROM operation WHERE error IS NOT NULL")
EntityOperation getOperationFirst(); List<EntityOperation> getOperationsError();
@Query("SELECT COUNT(id) FROM operation" + @Query("SELECT COUNT(id) FROM operation" +
" WHERE folder = :folder" + " WHERE folder = :folder" +

@ -211,7 +211,7 @@ public class FragmentMessages extends FragmentEx {
List<EntityFolder> folders = new ArrayList<>(); List<EntityFolder> folders = new ArrayList<>();
if (fid < 0) if (fid < 0)
folders.addAll(db.folder().getUnifiedFolders()); folders.addAll(db.folder().getFoldersSynchronizingUnified());
else else
folders.add(db.folder().getFolder(fid)); folders.add(db.folder().getFolder(fid));

Loading…
Cancel
Save