|
|
@ -247,9 +247,8 @@ public interface DaoMessage {
|
|
|
|
|
|
|
|
|
|
|
|
@Query("SELECT COUNT(*) FROM message" +
|
|
|
|
@Query("SELECT COUNT(*) FROM message" +
|
|
|
|
" JOIN folder_view AS folder ON folder.id = message.folder" +
|
|
|
|
" JOIN folder_view AS folder ON folder.id = message.folder" +
|
|
|
|
" LEFT JOIN operation ON operation.message = message.id" +
|
|
|
|
|
|
|
|
" WHERE " + is_outbox +
|
|
|
|
" WHERE " + is_outbox +
|
|
|
|
" AND operation.id IS NULL")
|
|
|
|
" AND NOT ui_snoozed IS NULL")
|
|
|
|
LiveData<Integer> liveOutboxPending();
|
|
|
|
LiveData<Integer> liveOutboxPending();
|
|
|
|
|
|
|
|
|
|
|
|
@Query("SELECT account.name AS accountName" +
|
|
|
|
@Query("SELECT account.name AS accountName" +
|
|
|
|