mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-30 13:47:05 +02:00
Show account errors warning
This commit is contained in:
@@ -38,7 +38,8 @@ public interface DaoFolder {
|
||||
|
||||
@Query("SELECT folder.*" +
|
||||
", account.id AS accountId, account.pop AS accountProtocol, account.`order` AS accountOrder" +
|
||||
", account.name AS accountName, account.category AS accountCategory, account.color AS accountColor, account.state AS accountState" +
|
||||
", account.name AS accountName, account.category AS accountCategory, account.color AS accountColor" +
|
||||
", account.state AS accountState, account.error AS accountError" +
|
||||
", COUNT(DISTINCT CASE WHEN rule.enabled THEN rule.id ELSE NULL END) rules" +
|
||||
", COUNT(DISTINCT message.id) AS messages" +
|
||||
", COUNT(DISTINCT CASE WHEN message.content = 1 THEN message.id ELSE NULL END) AS content" +
|
||||
@@ -77,7 +78,8 @@ public interface DaoFolder {
|
||||
@Transaction
|
||||
@Query("SELECT folder.*" +
|
||||
", account.id AS accountId, account.pop AS accountProtocol, account.`order` AS accountOrder" +
|
||||
", account.name AS accountName, account.category AS accountCategory, account.color AS accountColor, account.state AS accountState" +
|
||||
", account.name AS accountName, account.category AS accountCategory, account.color AS accountColor" +
|
||||
", account.state AS accountState, account.error AS accountError" +
|
||||
", COUNT(DISTINCT CASE WHEN rule.enabled THEN rule.id ELSE NULL END) rules" +
|
||||
", COUNT(DISTINCT CASE WHEN message.ui_hide THEN NULL ELSE message.id END) AS messages" +
|
||||
", COUNT(DISTINCT CASE WHEN message.content = 1 AND NOT message.ui_hide THEN message.id ELSE NULL END) AS content" +
|
||||
@@ -100,7 +102,8 @@ public interface DaoFolder {
|
||||
|
||||
@Query("SELECT folder.*" +
|
||||
", account.id AS accountId, account.pop AS accountProtocol, account.`order` AS accountOrder" +
|
||||
", account.name AS accountName, account.category AS accountCategory, account.color AS accountColor, account.state AS accountState" +
|
||||
", account.name AS accountName, account.category AS accountCategory, account.color AS accountColor" +
|
||||
", account.state AS accountState, account.error AS accountError" +
|
||||
", COUNT(DISTINCT CASE WHEN rule.enabled THEN rule.id ELSE NULL END) rules" +
|
||||
", COUNT(DISTINCT message.id) AS messages" +
|
||||
", COUNT(DISTINCT CASE WHEN message.content = 1 THEN message.id ELSE NULL END) AS content" +
|
||||
@@ -124,7 +127,8 @@ public interface DaoFolder {
|
||||
|
||||
@Query("SELECT folder.*" +
|
||||
", account.id AS accountId, account.pop AS accountProtocol, account.`order` AS accountOrder" +
|
||||
", account.name AS accountName, account.category AS accountCategory, account.color AS accountColor, account.state AS accountState" +
|
||||
", account.name AS accountName, account.category AS accountCategory, account.color AS accountColor" +
|
||||
", account.state AS accountState, account.error AS accountError" +
|
||||
", COUNT(DISTINCT CASE WHEN rule.enabled THEN rule.id ELSE NULL END) rules" +
|
||||
", COUNT(DISTINCT message.id) AS messages" +
|
||||
", COUNT(DISTINCT CASE WHEN message.content = 1 THEN message.id ELSE NULL END) AS content" +
|
||||
|
||||
Reference in New Issue
Block a user