1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-01-01 12:44:42 +00:00
How could this be go unnoticed?
This commit is contained in:
M66B 2020-04-05 08:46:10 +02:00
parent c704d62e14
commit fa0a5080f9

View file

@ -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" +