Prevent browsing POP3 folders

This commit is contained in:
M66B 2019-09-25 20:20:43 +02:00
parent 27bc4c2dbc
commit 2389b783e7
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ public interface DaoFolder {
@Query("SELECT folder.* FROM folder" +
" JOIN account ON account.id = folder.account" +
" WHERE folder.id = :folder" +
" AND (:search OR (account.synchronize AND account.browse))")
" AND (:search OR (account.synchronize AND account.browse AND NOT account.pop))")
EntityFolder getBrowsableFolder(long folder, boolean search);
@Query("SELECT folder.*" +