[evolution-data-server/gnome-3-24] Bug 493801 - [IMAPx] Locally cached files not deleted after message remove
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server/gnome-3-24] Bug 493801 - [IMAPx] Locally cached files not deleted after message remove
- Date: Wed, 21 Jun 2017 06:37:38 +0000 (UTC)
commit 9f1f3d0e50a7079f04cf73a618b34f29d9d3d1bf
Author: Milan Crha <mcrha redhat com>
Date: Wed Jun 21 08:35:55 2017 +0200
Bug 493801 - [IMAPx] Locally cached files not deleted after message remove
src/camel/providers/imapx/camel-imapx-folder.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/camel/providers/imapx/camel-imapx-folder.c b/src/camel/providers/imapx/camel-imapx-folder.c
index 120e63f..ff6022f 100644
--- a/src/camel/providers/imapx/camel-imapx-folder.c
+++ b/src/camel/providers/imapx/camel-imapx-folder.c
@@ -893,6 +893,9 @@ imapx_folder_changed (CamelFolder *folder,
g_hash_table_remove (imapx_folder->priv->move_to_real_trash_uids, message_uid);
g_hash_table_remove (imapx_folder->priv->move_to_real_junk_uids, message_uid);
+
+ camel_data_cache_remove (imapx_folder->cache, "tmp", message_uid, NULL);
+ camel_data_cache_remove (imapx_folder->cache, "cur", message_uid, NULL);
}
g_mutex_unlock (&imapx_folder->priv->move_to_hash_table_lock);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]