[evolution-ews] Fix a regression in moving deleted messages



commit 8b5dc6eafaf5d1930d88ad5c79809f769d862df2
Author: Chenthill Palanisamy <pchenthill novell com>
Date:   Tue May 24 11:33:37 2011 +0530

    Fix a regression in moving deleted messages

 src/camel/camel-ews-folder.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/camel/camel-ews-folder.c b/src/camel/camel-ews-folder.c
index cd5ac7c..1a96227 100644
--- a/src/camel/camel-ews-folder.c
+++ b/src/camel/camel-ews-folder.c
@@ -682,7 +682,7 @@ ews_synchronize_sync (CamelFolder *folder, gboolean expunge, EVO3(GCancellable *
 		if (flags_changed & (CAMEL_MESSAGE_SEEN|CAMEL_MESSAGE_ANSWERED|CAMEL_MESSAGE_FORWARDED)) {
 			mi_list = g_slist_append (mi_list, mi);
 			mi_list_len++;
-		} else {
+		} else if (flags_changed & CAMEL_MESSAGE_DELETED) {
 			deleted_uids = g_slist_prepend (deleted_uids, (gpointer) camel_pstring_strdup (uids->pdata [i]));
 			camel_message_info_free (mi);
 		}



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