diff --git a/app/src/main/java/eu/faircode/email/Core.java b/app/src/main/java/eu/faircode/email/Core.java index c4b1b1f8ff..b360da13e2 100644 --- a/app/src/main/java/eu/faircode/email/Core.java +++ b/app/src/main/java/eu/faircode/email/Core.java @@ -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");