[evolution-data-server] evo-I#476 - Hide "Server handles meeting invitations" for VJOURNAL/CalDAV
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] evo-I#476 - Hide "Server handles meeting invitations" for VJOURNAL/CalDAV
- Date: Fri, 7 Jun 2019 13:37:06 +0000 (UTC)
commit dc4bbc4fddfaf02a5c9e85e396d4bdea0ad15832
Author: Milan Crha <mcrha redhat com>
Date: Fri Jun 7 15:38:50 2019 +0200
evo-I#476 - Hide "Server handles meeting invitations" for VJOURNAL/CalDAV
Related to https://gitlab.gnome.org/GNOME/evolution/issues/476
src/calendar/backends/caldav/e-cal-backend-caldav.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/src/calendar/backends/caldav/e-cal-backend-caldav.c
b/src/calendar/backends/caldav/e-cal-backend-caldav.c
index af47a859e..65fd58e97 100644
--- a/src/calendar/backends/caldav/e-cal-backend-caldav.c
+++ b/src/calendar/backends/caldav/e-cal-backend-caldav.c
@@ -187,7 +187,8 @@ ecb_caldav_connect_sync (ECalMetaBackend *meta_backend,
soup_uri = e_source_webdav_dup_soup_uri (webdav_extension);
cal_cache = e_cal_meta_backend_ref_cache (meta_backend);
- cbdav->priv->calendar_schedule = capabilities && g_hash_table_contains (capabilities,
E_WEBDAV_CAPABILITY_CALENDAR_SCHEDULE);
+ cbdav->priv->calendar_schedule = e_cal_backend_get_kind (E_CAL_BACKEND (cbdav)) !=
I_CAL_VJOURNAL_COMPONENT &&
+ capabilities && g_hash_table_contains (capabilities,
E_WEBDAV_CAPABILITY_CALENDAR_SCHEDULE);
calendar_access = capabilities && g_hash_table_contains (capabilities,
E_WEBDAV_CAPABILITY_CALENDAR_ACCESS);
if (calendar_access) {
@@ -2062,7 +2063,8 @@ ecb_caldav_get_backend_property (ECalBackend *backend,
source = e_backend_get_source (E_BACKEND (backend));
extension = e_source_get_extension (source, E_SOURCE_EXTENSION_WEBDAV_BACKEND);
- if (e_source_webdav_get_calendar_auto_schedule (extension)) {
+ if (e_cal_backend_get_kind (backend) != I_CAL_VJOURNAL_COMPONENT &&
+ e_source_webdav_get_calendar_auto_schedule (extension)) {
g_string_append (
caps,
"," E_CAL_STATIC_CAPABILITY_CREATE_MESSAGES
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]