mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-24 15:11:03 +00:00
Small improvement
This commit is contained in:
parent
23fe035085
commit
5977166f20
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ public interface DaoFolder {
|
|||
" LEFT JOIN message ON message.folder = folder.id AND NOT message.ui_hide" +
|
||||
" WHERE CASE WHEN :account IS NULL" +
|
||||
" THEN folder.unified AND account.synchronize" +
|
||||
" ELSE folder.account = :account OR folder.account IS NULL" +
|
||||
" ELSE (folder.account = :account AND account.synchronize) OR folder.account IS NULL" +
|
||||
" END" +
|
||||
" GROUP BY folder.id")
|
||||
LiveData<List<TupleFolderEx>> liveFolders(Long account);
|
||||
|
|
Loading…
Reference in a new issue