mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-03 13:44:40 +00:00
Fix
This commit is contained in:
parent
0de6e78cf9
commit
8439e98c95
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue