mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-24 07:01:05 +00:00
Fixed displaying message thread
This commit is contained in:
parent
1ea4031228
commit
2462c90975
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ public interface DaoMessage {
|
|||
", account.name AS accountName, account.color AS accountColor" +
|
||||
", folder.name as folderName, folder.type as folderType" +
|
||||
", 1 AS count" +
|
||||
", SUM(CASE WHEN message.ui_seen THEN 0 ELSE 1 END) as unseen" +
|
||||
", CASE WHEN message.ui_seen THEN 0 ELSE 1 END as unseen" +
|
||||
", (SELECT COUNT(a.id) FROM attachment a WHERE a.message = message.id) AS attachments" +
|
||||
" FROM message" +
|
||||
" LEFT JOIN account ON account.id = message.account" +
|
||||
|
|
Loading…
Reference in a new issue