Fixed swipe move

This commit is contained in:
M66B 2019-01-24 07:12:52 +00:00
parent 0eba3ebc5b
commit 1418593353
1 changed files with 1 additions and 1 deletions

View File

@ -2145,7 +2145,7 @@ public class FragmentMessages extends FragmentBase {
db.beginTransaction(); db.beginTransaction();
for (MessageTarget target : result) { for (MessageTarget target : result) {
EntityMessage message = db.message().getMessage(id); EntityMessage message = db.message().getMessage(target.id);
if (message != null && message.ui_hide) { if (message != null && message.ui_hide) {
Log.i("Move id=" + id + " target=" + target.folder.name); Log.i("Move id=" + id + " target=" + target.folder.name);
EntityOperation.queue(context, db, message, EntityOperation.MOVE, target.folder.id); EntityOperation.queue(context, db, message, EntityOperation.MOVE, target.folder.id);