[evolution-mapi/gnome-3-24] Messages moved on the server not deleted from local cache
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-mapi/gnome-3-24] Messages moved on the server not deleted from local cache
- Date: Wed, 21 Jun 2017 14:19:54 +0000 (UTC)
commit 24be2d7e83d5c021bf655851461d8657171b78ee
Author: Milan Crha <mcrha redhat com>
Date: Wed Jun 21 16:17:31 2017 +0200
Messages moved on the server not deleted from local cache
When transferring messages within one server the local cache
of the source folder did not have deleted the moved message,
while it was no longer available in that folder.
src/camel/camel-mapi-folder.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/camel/camel-mapi-folder.c b/src/camel/camel-mapi-folder.c
index e72bed8..e560ce8 100644
--- a/src/camel/camel-mapi-folder.c
+++ b/src/camel/camel-mapi-folder.c
@@ -1869,6 +1869,7 @@ mapi_folder_transfer_messages_to_sync (CamelFolder *source,
for (i = 0; i < uids->len; i++) {
camel_folder_summary_remove_uid (source_summary, uids->pdata[i]);
camel_folder_change_info_remove_uid (changes, uids->pdata[i]);
+ camel_data_cache_remove (src_mapi_folder->cache, "cache", uids->pdata[i], NULL);
}
camel_folder_changed (source, changes);
camel_folder_change_info_free (changes);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]