Browse Source

Small improvement

main
M66B 6 years ago
parent
commit
dd2fdc9446
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/src/main/java/eu/faircode/email/DaoMessage.java

+ 1
- 1
app/src/main/java/eu/faircode/email/DaoMessage.java View File

@ -166,7 +166,7 @@ public interface DaoMessage {
", CASE WHEN message.ui_flagged THEN 0 ELSE 1 END AS unflagged" + ", CASE WHEN message.ui_flagged THEN 0 ELSE 1 END AS unflagged" +
", (SELECT COUNT(a.id) FROM attachment a WHERE a.message = message.id) AS attachments" + ", (SELECT COUNT(a.id) FROM attachment a WHERE a.message = message.id) AS attachments" +
" FROM message" + " FROM message" +
" LEFT JOIN account ON account.id = message.account" +
" JOIN account ON account.id = message.account" +
" JOIN folder ON folder.id = message.folder" + " JOIN folder ON folder.id = message.folder" +
" WHERE message.id = :id") " WHERE message.id = :id")
LiveData<TupleMessageEx> liveMessage(long id); LiveData<TupleMessageEx> liveMessage(long id);


Loading…
Cancel
Save