From 8ef596b3a88e20ddf8f13dbb7f952e1c9a1a3e5c Mon Sep 17 00:00:00 2001 From: M66B Date: Fri, 19 Apr 2019 10:33:41 +0200 Subject: [PATCH] Small fix --- app/src/main/java/eu/faircode/email/DaoAccount.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/DaoAccount.java b/app/src/main/java/eu/faircode/email/DaoAccount.java index c723c638cd..6735c1f6d4 100644 --- a/app/src/main/java/eu/faircode/email/DaoAccount.java +++ b/app/src/main/java/eu/faircode/email/DaoAccount.java @@ -89,7 +89,7 @@ public interface DaoAccount { " WHERE account.synchronize) AS operations") LiveData liveStats(); - @Query("SELECT account.id, swipe_left, l.type AS left_type, swipe_right, r.type AS right_type" + + @Query("SELECT account.id, l.id, l.type AS left_type, r.id, r.type AS right_type" + " FROM account" + " LEFT JOIN folder l ON l.id = account.swipe_left" + " LEFT JOIN folder r ON r.id = account.swipe_right")