[evolution-data-server] Calculate can_qresync after fetching STATUS
- From: David Woodhouse <dwmw2 src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] Calculate can_qresync after fetching STATUS
- Date: Wed, 30 Jun 2010 14:01:24 +0000 (UTC)
commit 23bdeb12ef3b8a4b6d63f8dd008594feca760540
Author: David Woodhouse <David Woodhouse intel com>
Date: Wed Jun 30 13:22:25 2010 +0100
Calculate can_qresync after fetching STATUS
camel/providers/imapx/camel-imapx-server.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/camel/providers/imapx/camel-imapx-server.c b/camel/providers/imapx/camel-imapx-server.c
index a2ed753..35a9fab 100644
--- a/camel/providers/imapx/camel-imapx-server.c
+++ b/camel/providers/imapx/camel-imapx-server.c
@@ -3729,9 +3729,6 @@ imapx_job_refresh_info_start (CamelIMAPXServer *is, CamelIMAPXJob *job)
if ((isum->modseq && !ifolder->modseq_on_server))
need_rescan = FALSE;
- if (is->use_qresync && isum->modseq && ifolder->uidvalidity_on_server)
- can_qresync = TRUE;
-
/* If we don't think there's anything to do, poke it to check */
if (!need_rescan) {
CamelIMAPXCommand *ic;
@@ -3787,6 +3784,9 @@ imapx_job_refresh_info_start (CamelIMAPXServer *is, CamelIMAPXJob *job)
}
+ if (is->use_qresync && isum->modseq && ifolder->uidvalidity_on_server)
+ can_qresync = TRUE;
+
e(printf("folder %s is %sselected, total %u / %u, unread %u / %u, modseq %llu / %llu, uidnext %u / %u: will %srescan\n",
full_name, is_selected?"": "not ", total, ifolder->exists_on_server,
folder->summary->unread_count, ifolder->unread_on_server,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]