[evolution-ews/gnome-3-6] Cannot change Permissions of a Calendar folder



commit 0578048d18e74fea57f0c40b859b5151b4519b5c
Author: Milan Crha <mcrha redhat com>
Date:   Thu Nov 8 19:11:13 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 a31d78f..5fbe085 100644
--- a/src/server/e-ews-connection.c
+++ b/src/server/e-ews-connection.c
@@ -7121,7 +7121,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]