mirror of https://github.com/M66B/FairEmail.git
Oops
This commit is contained in:
parent
6e666b4000
commit
cb42044851
|
@ -42,7 +42,7 @@ public interface DaoMessage {
|
||||||
String is_outbox = "folder.type = '" + EntityFolder.OUTBOX + "'";
|
String is_outbox = "folder.type = '" + EntityFolder.OUTBOX + "'";
|
||||||
|
|
||||||
@Query("SELECT message.*" +
|
@Query("SELECT message.*" +
|
||||||
", account.pop AS accountPop, account.name AS accountName, IFNULL(identity.color, folder.color, account.color) AS accountColor" +
|
", account.pop AS accountPop, 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.display AS folderDisplay, folder.type AS folderType, folder.read_only AS folderReadOnly" +
|
", 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" +
|
", identity.name AS identityName, identity.email AS identityEmail, identity.synchronize AS identitySynchronize" +
|
||||||
|
@ -91,7 +91,7 @@ public interface DaoMessage {
|
||||||
boolean debug);
|
boolean debug);
|
||||||
|
|
||||||
@Query("SELECT message.*" +
|
@Query("SELECT message.*" +
|
||||||
", account.pop AS accountPop, account.name AS accountName, IFNULL(identity.color, folder.color, account.color) AS accountColor" +
|
", account.pop AS accountPop, 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.display AS folderDisplay, folder.type AS folderType, folder.read_only AS folderReadOnly" +
|
", 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" +
|
", identity.name AS identityName, identity.email AS identityEmail, identity.synchronize AS identitySynchronize" +
|
||||||
|
@ -134,7 +134,7 @@ public interface DaoMessage {
|
||||||
boolean debug);
|
boolean debug);
|
||||||
|
|
||||||
@Query("SELECT message.*" +
|
@Query("SELECT message.*" +
|
||||||
", account.pop AS accountPop, account.name AS accountName, IFNULL(identity.color, folder.color, account.color) AS accountColor" +
|
", account.pop AS accountPop, 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.display AS folderDisplay, folder.type AS folderType, folder.read_only AS folderReadOnly" +
|
", 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" +
|
", identity.name AS identityName, identity.email AS identityEmail, identity.synchronize AS identitySynchronize" +
|
||||||
|
@ -284,7 +284,7 @@ public interface DaoMessage {
|
||||||
TupleMessageStats getUnseenWidget();
|
TupleMessageStats getUnseenWidget();
|
||||||
|
|
||||||
@Query("SELECT message.*" +
|
@Query("SELECT message.*" +
|
||||||
", account.pop AS accountPop, account.name AS accountName, IFNULL(identity.color, folder.color, account.color) AS accountColor" +
|
", account.pop AS accountPop, 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.display AS folderDisplay, folder.type AS folderType, folder.read_only AS folderReadOnly" +
|
", 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" +
|
", identity.name AS identityName, identity.email AS identityEmail, identity.synchronize AS identitySynchronize" +
|
||||||
|
|
Loading…
Reference in New Issue