From 1418593353d73ed03e65496514bf472ed793833e Mon Sep 17 00:00:00 2001 From: M66B Date: Thu, 24 Jan 2019 07:12:52 +0000 Subject: [PATCH] Fixed swipe move --- app/src/main/java/eu/faircode/email/FragmentMessages.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/FragmentMessages.java b/app/src/main/java/eu/faircode/email/FragmentMessages.java index 8b876a7237..89eccda4ba 100644 --- a/app/src/main/java/eu/faircode/email/FragmentMessages.java +++ b/app/src/main/java/eu/faircode/email/FragmentMessages.java @@ -2145,7 +2145,7 @@ public class FragmentMessages extends FragmentBase { db.beginTransaction(); for (MessageTarget target : result) { - EntityMessage message = db.message().getMessage(id); + EntityMessage message = db.message().getMessage(target.id); if (message != null && message.ui_hide) { Log.i("Move id=" + id + " target=" + target.folder.name); EntityOperation.queue(context, db, message, EntityOperation.MOVE, target.folder.id);