# HG changeset patch # User Timo Sirainen # Date 1251472706 14400 # Node ID ff4c1e9f47a4d1f6b5ca80ead531c2da59a4b144 # Parent cc4af8e3117564c0c5226175986a6c91b4b25224 lib-index: Fixed v2.0 forwards compatibility support. Expunges were handled wrong. diff -r cc4af8e31175 -r ff4c1e9f47a4 src/lib-index/mail-index-view-sync.c --- a/src/lib-index/mail-index-view-sync.c Fri Aug 28 11:04:53 2009 -0400 +++ b/src/lib-index/mail-index-view-sync.c Fri Aug 28 11:18:26 2009 -0400 @@ -218,13 +218,13 @@ } if ((hdr->type & MAIL_TRANSACTION_EXPUNGE_GUID) != 0) { /* we have an expunge. see if it still exists. */ - if (have_existing_expunges(view, data, hdr->size)) { + if (have_existing_guid_expunge(view, data, hdr->size)) { have_expunges = TRUE; break; } } else if ((hdr->type & MAIL_TRANSACTION_EXPUNGE) != 0) { /* we have an expunge. see if it still exists. */ - if (have_existing_guid_expunge(view, data, hdr->size)) { + if (have_existing_expunges(view, data, hdr->size)) { have_expunges = TRUE; break; }