]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
virtual plugin: Don't assert-crash if backend mailbox is recreated while virtual...
authorTimo Sirainen <timo.sirainen@dovecot.fi>
Tue, 15 Mar 2016 23:33:26 +0000 (10:33 +1100)
committerTimo Sirainen <timo.sirainen@dovecot.fi>
Wed, 16 Mar 2016 00:03:02 +0000 (11:03 +1100)
src/plugins/virtual/virtual-sync.c

index 5aea577489391558b2f8959b9ce7c0eaeb15c3d1..5b31212cf8a717f751e8232b3ac062eba560820c 100644 (file)
@@ -1193,7 +1193,6 @@ static int virtual_sync_backend_box(struct virtual_sync_context *ctx,
                if (status.uidvalidity != bbox->sync_uid_validity) {
                        /* UID validity changed since last sync (or this is
                           the first sync), do a full search */
-                       i_assert(ctx->expunge_removed);
                        ret = virtual_sync_backend_box_init(bbox);
                } else {
                        /* build the initial search using the saved modseq. */