|
|
|
@ -45,7 +45,7 @@ public interface DaoMessage {
|
|
|
|
|
", account.pop AS accountProtocol, account.name AS accountName, COALESCE(identity.color, folder.color, account.color) AS accountColor" +
|
|
|
|
|
", account.notify AS accountNotify, account.auto_seen AS accountAutoSeen" +
|
|
|
|
|
", folder.name AS folderName, folder.display AS folderDisplay, folder.type AS folderType, folder.read_only AS folderReadOnly" +
|
|
|
|
|
", identity.name AS identityName, identity.email AS identityEmail, identity.synchronize AS identitySynchronize" +
|
|
|
|
|
", IFNULL(identity.display, identity.name) AS identityName, identity.email AS identityEmail, identity.synchronize AS identitySynchronize" +
|
|
|
|
|
", '[' || group_concat(message.`from`, ',') || ']' AS senders" +
|
|
|
|
|
", COUNT(message.id) AS count" +
|
|
|
|
|
", SUM(1 - message.ui_seen) AS unseen" +
|
|
|
|
@ -96,7 +96,7 @@ public interface DaoMessage {
|
|
|
|
|
", account.pop AS accountProtocol, account.name AS accountName, COALESCE(identity.color, folder.color, account.color) AS accountColor" +
|
|
|
|
|
", account.notify AS accountNotify, account.auto_seen AS accountAutoSeen" +
|
|
|
|
|
", folder.name AS folderName, folder.display AS folderDisplay, folder.type AS folderType, folder.read_only AS folderReadOnly" +
|
|
|
|
|
", identity.name AS identityName, identity.email AS identityEmail, identity.synchronize AS identitySynchronize" +
|
|
|
|
|
", IFNULL(identity.display, identity.name) AS identityName, identity.email AS identityEmail, identity.synchronize AS identitySynchronize" +
|
|
|
|
|
", '[' || group_concat(message.`from`, ',') || ']' AS senders" +
|
|
|
|
|
", COUNT(message.id) AS count" +
|
|
|
|
|
", SUM(1 - message.ui_seen) AS unseen" +
|
|
|
|
@ -141,7 +141,7 @@ public interface DaoMessage {
|
|
|
|
|
", account.pop AS accountProtocol, account.name AS accountName, COALESCE(identity.color, folder.color, account.color) AS accountColor" +
|
|
|
|
|
", account.notify AS accountNotify, account.auto_seen AS accountAutoSeen" +
|
|
|
|
|
", folder.name AS folderName, folder.display AS folderDisplay, folder.type AS folderType, folder.read_only AS folderReadOnly" +
|
|
|
|
|
", identity.name AS identityName, identity.email AS identityEmail, identity.synchronize AS identitySynchronize" +
|
|
|
|
|
", IFNULL(identity.display, identity.name) AS identityName, identity.email AS identityEmail, identity.synchronize AS identitySynchronize" +
|
|
|
|
|
", message.`from` AS senders" +
|
|
|
|
|
", 1 AS count" +
|
|
|
|
|
", CASE WHEN message.ui_seen THEN 0 ELSE 1 END AS unseen" +
|
|
|
|
@ -281,7 +281,7 @@ public interface DaoMessage {
|
|
|
|
|
", account.pop AS accountProtocol, account.name AS accountName, identity.color AS accountColor" +
|
|
|
|
|
", account.notify AS accountNotify, account.auto_seen AS accountAutoSeen" +
|
|
|
|
|
", folder.name AS folderName, folder.display AS folderDisplay, folder.type AS folderType, folder.read_only AS folderReadOnly" +
|
|
|
|
|
", identity.name AS identityName, identity.email AS identityEmail, identity.synchronize AS identitySynchronize" +
|
|
|
|
|
", IFNULL(identity.display, identity.name) AS identityName, identity.email AS identityEmail, identity.synchronize AS identitySynchronize" +
|
|
|
|
|
", message.`from` AS senders" +
|
|
|
|
|
", 1 AS count" +
|
|
|
|
|
", CASE WHEN message.ui_seen THEN 0 ELSE 1 END AS unseen" +
|
|
|
|
@ -316,7 +316,7 @@ public interface DaoMessage {
|
|
|
|
|
", account.pop AS accountProtocol, account.name AS accountName, COALESCE(identity.color, folder.color, account.color) AS accountColor" +
|
|
|
|
|
", account.notify AS accountNotify, account.auto_seen AS accountAutoSeen" +
|
|
|
|
|
", folder.name AS folderName, folder.display AS folderDisplay, folder.type AS folderType, folder.read_only AS folderReadOnly" +
|
|
|
|
|
", identity.name AS identityName, identity.email AS identityEmail, identity.synchronize AS identitySynchronize" +
|
|
|
|
|
", IFNULL(identity.display, identity.name) AS identityName, identity.email AS identityEmail, identity.synchronize AS identitySynchronize" +
|
|
|
|
|
", message.`from` AS senders" +
|
|
|
|
|
", 1 AS count" +
|
|
|
|
|
", 1 AS unseen" +
|
|
|
|
|