Warn for move / uid not found

pull/217/head
M66B 12 months ago
parent 57b10cb1ca
commit 9f5423629c

@ -1612,7 +1612,12 @@ class Core {
Long uid = findUid(context, account, itarget, msgid); Long uid = findUid(context, account, itarget, msgid);
if (uid == null) if (uid == null)
if (duplicate)
throw new IllegalArgumentException("move: uid not found"); throw new IllegalArgumentException("move: uid not found");
else {
Log.w("move: uid not found");
continue;
}
if (draft || duplicate) { if (draft || duplicate) {
Message icopy = itarget.getMessageByUID(uid); Message icopy = itarget.getMessageByUID(uid);

Loading…
Cancel
Save