[evolution-ews/gnome-2-28] Bug 664637 - Deleted messages appear in Inbox



commit d4cb18d6e28edfca579b9e70e1fe04fc788493c3
Author: David Woodhouse <David Woodhouse intel com>
Date:   Fri Dec 2 13:00:56 2011 +0000

    Bug 664637 - Deleted messages appear in Inbox
    
    This is a *partial* fix. We still have a potential bug if we crash at the
    wrong time, but at least this stops us from hitting it systematically.

 src/camel/camel-ews-folder.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/camel/camel-ews-folder.c b/src/camel/camel-ews-folder.c
index 2a7cb43..af4cb2e 100644
--- a/src/camel/camel-ews-folder.c
+++ b/src/camel/camel-ews-folder.c
@@ -1121,6 +1121,7 @@ ews_refresh_info_sync (CamelFolder *folder, GCancellable *cancellable, GError **
 		g_free (((CamelEwsSummary *) folder->summary)->sync_state);
 		((CamelEwsSummary *) folder->summary)->sync_state = sync_state;
 
+		camel_folder_summary_touch (folder->summary);
 		camel_folder_summary_save_to_db (folder->summary, NULL);
 
 	} while (!rerror && !includes_last_item);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]