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