mirror of https://github.com/xwiki-labs/cryptpad
Accept other methods in calendar import
This commit is contained in:
parent
7d9a009319
commit
c7a284efe7
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue