pull/146/head
M66B 6 years ago
parent 0de6e78cf9
commit 8439e98c95

@ -1369,7 +1369,7 @@ public class FragmentMessages extends FragmentEx {
List<EntityMessage> messages = db.message().getMessageByThread(account, thread); List<EntityMessage> messages = db.message().getMessageByThread(account, thread);
for (EntityMessage message : messages) for (EntityMessage message : messages)
if (!target.id.equals(message.folder)) { if (message.uid != null && !target.id.equals(message.folder)) {
db.message().setMessageUiHide(message.id, true); db.message().setMessageUiHide(message.id, true);
EntityOperation.queue(db, message, EntityOperation.MOVE, target.id); EntityOperation.queue(db, message, EntityOperation.MOVE, target.id);
} }

Loading…
Cancel
Save