[evolution-ews] I#120 - Created public folder not visible after restart
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-ews] I#120 - Created public folder not visible after restart
- Date: Mon, 14 Sep 2020 17:35:58 +0000 (UTC)
commit 63a3fd8c896327fa5311282e3fa8ff220f64fe18
Author: Milan Crha <mcrha redhat com>
Date: Mon Sep 14 19:35:11 2020 +0200
I#120 - Created public folder not visible after restart
Closes https://gitlab.gnome.org/GNOME/evolution-ews/-/issues/120
src/EWS/camel/camel-ews-store.c | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/src/EWS/camel/camel-ews-store.c b/src/EWS/camel/camel-ews-store.c
index f97eedd2..71a5b879 100644
--- a/src/EWS/camel/camel-ews-store.c
+++ b/src/EWS/camel/camel-ews-store.c
@@ -2877,7 +2877,7 @@ ews_create_folder_sync (CamelStore *store,
EwsFolderId *folder_id;
EEwsConnection *connection;
CamelFolderInfo *fi = NULL;
- gboolean success;
+ gboolean success, is_foreign = FALSE, is_public = FALSE;
GError *local_error = NULL;
if (parent_name && *parent_name)
@@ -2929,6 +2929,9 @@ ews_create_folder_sync (CamelStore *store,
parent_name);
return NULL;
}
+
+ is_foreign = camel_ews_store_summary_get_foreign (ews_summary, fid, NULL);
+ is_public = camel_ews_store_summary_get_public (ews_summary, fid, NULL);
}
if (!camel_ews_store_connected (ews_store, cancellable, error)) {
@@ -2964,7 +2967,7 @@ ews_create_folder_sync (CamelStore *store,
fid, folder_id->change_key,
folder_name,
E_EWS_FOLDER_TYPE_MAILBOX,
- 0, 0, FALSE, FALSE);
+ 0, 0, is_foreign, is_public);
fi = camel_ews_utils_build_folder_info (ews_store, folder_id->id);
e_ews_folder_id_free (folder_id);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]