diff --git a/imap/mailbox.c b/imap/mailbox.c index 4d7fdc617d..52e7bd4124 100644 --- a/imap/mailbox.c +++ b/imap/mailbox.c @@ -6107,6 +6107,7 @@ EXPORTED int mailbox_add_dav(struct mailbox *mailbox) if (r == IMAP_NO_MSGGONE) { if (record->internal_flags & FLAG_INTERNAL_EXPUNGED) { /* Already expunged */ + r = 0; continue; }