[evolution-mapi] Bug #655962 - Changed unread state forgotten on message move
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-mapi] Bug #655962 - Changed unread state forgotten on message move
- Date: Thu, 4 Aug 2011 14:36:02 +0000 (UTC)
commit 9752d4b812ce722643c3ca141b479573a07350ae
Author: Milan Crha <mcrha redhat com>
Date: Thu Aug 4 16:35:38 2011 +0200
Bug #655962 - Changed unread state forgotten on message move
src/camel/camel-mapi-folder.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/src/camel/camel-mapi-folder.c b/src/camel/camel-mapi-folder.c
index 8088966..4945d75 100644
--- a/src/camel/camel-mapi-folder.c
+++ b/src/camel/camel-mapi-folder.c
@@ -1707,6 +1707,12 @@ mapi_folder_transfer_messages_to_sync (CamelFolder *source,
GSList *src_msg_ids = NULL;
gboolean success = TRUE;
+ if (CAMEL_IS_MAPI_FOLDER (source)) {
+ /* make sure changed flags are written into the server */
+ if (!mapi_folder_synchronize_sync (source, FALSE, cancellable, error))
+ return FALSE;
+ }
+
if (!CAMEL_IS_MAPI_FOLDER (source) || !CAMEL_IS_MAPI_FOLDER (destination) ||
(CAMEL_MAPI_FOLDER (source)->type & CAMEL_MAPI_FOLDER_PUBLIC) != 0 ||
(CAMEL_MAPI_FOLDER (destination)->type & CAMEL_MAPI_FOLDER_PUBLIC) != 0) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]