Accept other methods in calendar import

This commit is contained in:
yflory 2021-04-20 16:20:17 +02:00
parent 7d9a009319
commit c7a284efe7
1 changed files with 2 additions and 2 deletions

View File

@ -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) {