mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-01 02:21:37 +01:00
Prevent browsing POP3 folders
This commit is contained in:
@@ -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.*" +
|
||||
|
||||
Reference in New Issue
Block a user