mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-03 05:34:51 +00:00
Warn for move / uid not found
This commit is contained in:
parent
57b10cb1ca
commit
9f5423629c
1 changed files with 6 additions and 1 deletions
|
@ -1612,7 +1612,12 @@ class Core {
|
|||
|
||||
Long uid = findUid(context, account, itarget, msgid);
|
||||
if (uid == null)
|
||||
throw new IllegalArgumentException("move: uid not found");
|
||||
if (duplicate)
|
||||
throw new IllegalArgumentException("move: uid not found");
|
||||
else {
|
||||
Log.w("move: uid not found");
|
||||
continue;
|
||||
}
|
||||
|
||||
if (draft || duplicate) {
|
||||
Message icopy = itarget.getMessageByUID(uid);
|
||||
|
|
Loading…
Reference in a new issue