1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-22 07:42:52 +00:00

Allow uid not found for trash messages folder only

This commit is contained in:
M66B 2024-10-26 20:12:00 +02:00
parent b173082b5b
commit 9e3505e30b

View file

@ -1613,7 +1613,7 @@ class Core {
Long uid = findUid(context, account, itarget, msgid);
if (uid == null)
if (duplicate)
if (duplicate || !EntityFolder.TRASH.equals(folder.type))
throw new IllegalArgumentException("move: uid not found");
else {
Log.w("move: uid not found");