Prevent updating uid drafts

pull/153/head
M66B 6 years ago
parent adf38d8d93
commit 582672dec7

@ -383,7 +383,8 @@ class Core {
// Delete previous message(s) with same ID
if (folder.id.equals(message.folder)) {
db.message().setMessageUid(message.id, null);
// Prevent deleting message
db.message().setMessageUid(message.id, -1L);
Message[] ideletes = ifolder.search(new MessageIDTerm(message.msgid));
for (Message idelete : ideletes) {

Loading…
Cancel
Save