mirror of
https://github.com/M66B/FairEmail.git
synced 2025-03-05 19:21:07 +00:00
uid not found: assume message gone
This commit is contained in:
parent
98396f421f
commit
5fb9f79f03
1 changed files with 5 additions and 2 deletions
|
@ -1611,8 +1611,11 @@ class Core {
|
|||
throw new IllegalArgumentException("move: msgid missing");
|
||||
|
||||
Long uid = findUid(context, account, itarget, msgid);
|
||||
if (uid == null)
|
||||
throw new IllegalArgumentException("move: uid not found");
|
||||
if (uid == null) {
|
||||
Log.w("move: uid not found msgid=" + msgid);
|
||||
db.message().deleteMessage(message.id);
|
||||
continue;
|
||||
}
|
||||
|
||||
if (draft || duplicate) {
|
||||
Message icopy = itarget.getMessageByUID(uid);
|
||||
|
|
Loading…
Add table
Reference in a new issue