Prevent POP3 inbox delete

This commit is contained in:
M66B 2020-05-13 07:53:08 +02:00
parent f85c184681
commit dbe569e065
1 changed files with 4 additions and 0 deletions

View File

@ -958,6 +958,10 @@ class Core {
message.ui_flagged = false;
message.ui_hide = false;
// Prevent deleting message from inbox
if (message.uidl == null)
message.uidl = message.msgid;
db.message().updateMessage(message);
}