", account.pop AS accountProtocol, account.name AS accountName, COALESCE(identity.color, folder.color, account.color) AS accountColor"+
", 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"+
", account.notify AS accountNotify, account.auto_seen AS accountAutoSeen"+
", folder.name AS folderName, folder.color AS folderColor, folder.display AS folderDisplay, folder.type AS folderType, folder.read_only AS folderReadOnly" +
", folder.name AS folderName, folder.color AS folderColor, folder.display AS folderDisplay, folder.type AS folderType, folder.unified AS folderUnified, folder.read_only AS folderReadOnly" +
", IFNULL(identity.display, 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"+
", '[' || group_concat(message.`from`, ',') || ']' AS senders"+
", '[' || group_concat(message.`to`, ',') || ']' AS recipients"+
", '[' || group_concat(message.`to`, ',') || ']' AS recipients"+
@ -126,7 +126,7 @@ public interface DaoMessage {
@Query("SELECT message.*"+
@Query("SELECT message.*"+
", account.pop AS accountProtocol, account.name AS accountName, COALESCE(identity.color, folder.color, account.color) AS accountColor"+
", 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"+
", account.notify AS accountNotify, account.auto_seen AS accountAutoSeen"+
", folder.name AS folderName, folder.color AS folderColor, folder.display AS folderDisplay, folder.type AS folderType, folder.read_only AS folderReadOnly" +
", folder.name AS folderName, folder.color AS folderColor, folder.display AS folderDisplay, folder.type AS folderType, folder.unified AS folderUnified, folder.read_only AS folderReadOnly" +
", IFNULL(identity.display, 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"+
", '[' || group_concat(message.`from`, ',') || ']' AS senders"+
", '[' || group_concat(message.`to`, ',') || ']' AS recipients"+
", '[' || group_concat(message.`to`, ',') || ']' AS recipients"+
@ -195,7 +195,7 @@ public interface DaoMessage {
@Query("SELECT message.*"+
@Query("SELECT message.*"+
", account.pop AS accountProtocol, account.name AS accountName, COALESCE(identity.color, folder.color, account.color) AS accountColor"+
", 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"+
", account.notify AS accountNotify, account.auto_seen AS accountAutoSeen"+
", folder.name AS folderName, folder.color AS folderColor, folder.display AS folderDisplay, folder.type AS folderType, folder.read_only AS folderReadOnly" +
", folder.name AS folderName, folder.color AS folderColor, folder.display AS folderDisplay, folder.type AS folderType, folder.unified AS folderUnified, folder.read_only AS folderReadOnly" +
", IFNULL(identity.display, 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"+
", message.`from` AS senders"+
", message.`to` AS recipients"+
", message.`to` AS recipients"+
@ -387,7 +387,7 @@ public interface DaoMessage {
@Query("SELECT message.*"+
@Query("SELECT message.*"+
", account.pop AS accountProtocol, account.name AS accountName, identity.color AS accountColor"+
", account.pop AS accountProtocol, account.name AS accountName, identity.color AS accountColor"+
", account.notify AS accountNotify, account.auto_seen AS accountAutoSeen"+
", account.notify AS accountNotify, account.auto_seen AS accountAutoSeen"+
", folder.name AS folderName, folder.color AS folderColor, folder.display AS folderDisplay, folder.type AS folderType, folder.read_only AS folderReadOnly" +
", folder.name AS folderName, folder.color AS folderColor, folder.display AS folderDisplay, folder.type AS folderType, folder.unified AS folderUnified, folder.read_only AS folderReadOnly" +
", IFNULL(identity.display, 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"+
", message.`from` AS senders"+
", message.`to` AS recipients"+
", message.`to` AS recipients"+
@ -419,7 +419,7 @@ public interface DaoMessage {
@Query("SELECT message.*"+
@Query("SELECT message.*"+
", account.pop AS accountProtocol, account.name AS accountName, COALESCE(identity.color, folder.color, account.color) AS accountColor"+
", 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"+
", account.notify AS accountNotify, account.auto_seen AS accountAutoSeen"+
", folder.name AS folderName, folder.color AS folderColor, folder.display AS folderDisplay, folder.type AS folderType, folder.read_only AS folderReadOnly" +
", folder.name AS folderName, folder.color AS folderColor, folder.display AS folderDisplay, folder.type AS folderType, folder.unified AS folderUnified, folder.read_only AS folderReadOnly" +
", IFNULL(identity.display, 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"+