From c7a284efe7b09a181e52a9e0f7a200a333e52873 Mon Sep 17 00:00:00 2001 From: yflory Date: Tue, 20 Apr 2021 16:20:17 +0200 Subject: [PATCH] Accept other methods in calendar import --- www/calendar/export.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/calendar/export.js b/www/calendar/export.js index 146ba5880..7eb70e4de 100644 --- a/www/calendar/export.js +++ b/www/calendar/export.js @@ -126,8 +126,8 @@ define([ return void cb(e); } - var method = vcalendar.getFirstPropertyValue('method'); - if (method !== "PUBLISH") { return void cb('NOT_SUPPORTED'); } + //var method = vcalendar.getFirstPropertyValue('method'); + //if (method !== "PUBLISH") { return void cb('NOT_SUPPORTED'); } var events = vcalendar.getAllSubcomponents('vevent'); events.forEach(function (ev) {