This commit is contained in:
the-djmaze 2023-01-04 16:11:10 +01:00
parent 02a553c79f
commit e95b919c1e
5 changed files with 59 additions and 39 deletions

View file

@ -120,6 +120,7 @@
view.message.subscribe(msg => {
view.nextcloudICS(null);
if (msg && cfg.CalDAV) {
// let ics = msg.attachments.find(attachment => 'application/ics' == attachment.mimeType);
let ics = msg.attachments.find(attachment => 'text/calendar' == attachment.mimeType);
if (ics && ics.download) {
// fetch it and parse the VEVENT