mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-03 13:44:40 +00:00
Allow uid not found for trash messages folder only
This commit is contained in:
parent
b173082b5b
commit
9e3505e30b
1 changed files with 1 additions and 1 deletions
|
@ -1613,7 +1613,7 @@ class Core {
|
||||||
|
|
||||||
Long uid = findUid(context, account, itarget, msgid);
|
Long uid = findUid(context, account, itarget, msgid);
|
||||||
if (uid == null)
|
if (uid == null)
|
||||||
if (duplicate)
|
if (duplicate || !EntityFolder.TRASH.equals(folder.type))
|
||||||
throw new IllegalArgumentException("move: uid not found");
|
throw new IllegalArgumentException("move: uid not found");
|
||||||
else {
|
else {
|
||||||
Log.w("move: uid not found");
|
Log.w("move: uid not found");
|
||||||
|
|
Loading…
Reference in a new issue