[evolution-ews] Cannot change Permissions of a Calendar folder



commit 18325db5679159d8fa74433bbc20205b3557488f
Author: Milan Crha <mcrha redhat com>
Date:   Thu Nov 8 19:10:53 2012 +0100

    Cannot change Permissions of a Calendar folder

 src/server/e-ews-connection.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/src/server/e-ews-connection.c b/src/server/e-ews-connection.c
index 7b3f1f4..17d76c7 100644
--- a/src/server/e-ews-connection.c
+++ b/src/server/e-ews-connection.c
@@ -7125,7 +7125,10 @@ e_ews_connection_set_folder_permissions (EEwsConnection *cnc,
 	}
 
 	e_soap_message_start_element (msg, "PermissionSet", NULL, NULL);
-	e_soap_message_start_element (msg, "Permissions", NULL, NULL);
+	if (folder_type == E_EWS_FOLDER_TYPE_CALENDAR)
+		e_soap_message_start_element (msg, "CalendarPermissions", NULL, NULL);
+	else
+		e_soap_message_start_element (msg, "Permissions", NULL, NULL);
 
 	for (iter = permissions; iter; iter = iter->next) {
 		EEwsPermission *perm = iter->data;



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