Allow uid not found for trash messages folder only

pull/217/head
M66B 11 months ago
parent b173082b5b
commit 9e3505e30b

@ -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");

Loading…
Cancel
Save