1
0
Fork 0
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:
M66B 2024-10-10 07:44:20 +02:00
parent 57b10cb1ca
commit 9f5423629c

View file

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