aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers/imap4/camel-imap4-store.c
diff options
context:
space:
mode:
Diffstat (limited to 'camel/providers/imap4/camel-imap4-store.c')
-rw-r--r--camel/providers/imap4/camel-imap4-store.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/camel/providers/imap4/camel-imap4-store.c b/camel/providers/imap4/camel-imap4-store.c
index 333914123a..e9dcd66288 100644
--- a/camel/providers/imap4/camel-imap4-store.c
+++ b/camel/providers/imap4/camel-imap4-store.c
@@ -1315,5 +1315,8 @@ imap4_noop (CamelStore *store, CamelException *ex)
camel_imap4_command_unref (ic);
+ if (engine->folder && !camel_exception_is_set (ex))
+ camel_imap4_summary_flush_updates (((CamelFolder *) engine->folder)->summary, ex);
+
CAMEL_SERVICE_UNLOCK (store, connect_lock);
}