# HG changeset patch # User Timo Sirainen # Date 1101317513 -7200 # Node ID c1b4d0e7dff090121531a319b2fe08883e1f9bbc # Parent 70ce8c45e86bd5f7b6e9aac5720ae0a3b132695e If we synced external transactions at the beginning of index sync, we have to reopen the syncing view so it shows the latest updates. diff -r 70ce8c45e86b -r c1b4d0e7dff0 src/lib-index/mail-index-sync.c --- a/src/lib-index/mail-index-sync.c Wed Nov 24 18:46:15 2004 +0200 +++ b/src/lib-index/mail-index-sync.c Wed Nov 24 19:31:53 2004 +0200 @@ -376,6 +376,9 @@ return -1; } + mail_index_view_close(ctx->view); + ctx->view = mail_index_view_open(index); + if (mail_transaction_log_view_set(ctx->view->log_view, index->hdr->log_file_seq, index->hdr->log_file_int_offset,