From fa0a5080f96aa472dc5775b0f41832c0ceab2f63 Mon Sep 17 00:00:00 2001 From: M66B Date: Sun, 5 Apr 2020 08:46:10 +0200 Subject: [PATCH] Oops How could this be go unnoticed? --- app/src/main/java/eu/faircode/email/DaoMessage.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/eu/faircode/email/DaoMessage.java b/app/src/main/java/eu/faircode/email/DaoMessage.java index 2793629b47..3254a0bf04 100644 --- a/app/src/main/java/eu/faircode/email/DaoMessage.java +++ b/app/src/main/java/eu/faircode/email/DaoMessage.java @@ -56,7 +56,7 @@ public interface DaoMessage { ", (message.ui_encrypt IN (2, 4)) AS signed" + ", (message.ui_encrypt IN (1, 3)) AS encrypted" + ", COUNT(DISTINCT" + - " CASE WHEN NOT message.message.hash IS NULL THEN message.hash" + + " CASE WHEN NOT message.hash IS NULL THEN message.hash" + " WHEN NOT message.msgid IS NULL THEN message.msgid" + " ELSE message.id END) AS visible" + ", SUM(message.total) AS totalSize" + @@ -119,7 +119,7 @@ public interface DaoMessage { ", (message.ui_encrypt IN (2, 4)) AS signed" + ", (message.ui_encrypt IN (1, 3)) AS encrypted" + ", COUNT(DISTINCT" + - " CASE WHEN NOT message.message.hash IS NULL THEN message.hash" + + " CASE WHEN NOT message.hash IS NULL THEN message.hash" + " WHEN NOT message.msgid IS NULL THEN message.msgid" + " ELSE message.id END) AS visible" + ", SUM(message.total) AS totalSize" +