snappymail/plugins/ics-viewer
Fathi Ben Nasr 8a2d8e86a5 ics-viewer: unwrap attachments and widen the calendar part match
The panel never appears on a real invitation.

msg.attachments is a ko.observableArray, so msg.attachments.find() is
undefined and throws inside the message subscription - the rest of the
handler, including the JSON-LD path, dies with it. The app itself always
writes attachments().

A scheduling mail also does not necessarily carry a text/calendar
attachment. Evolution and Exchange put the scheduling part inline in
multipart/alternative as text/calendar and repeat it as an
application/ics attachment, so such a message shows two .ics files and
the current test matches neither reliably. Match text/calendar,
application/ics, text/x-vcalendar or an .ics file name - which is what
the commented-out line above was reaching for.
2026-08-14 10:12:06 +00:00
..
ical.js Replaced ical.es5.min.cjs with ical.js v2.1.0 for #1745 2024-09-17 20:57:45 +02:00
index.php Replaced ical.es5.min.cjs with ical.js v2.1.0 for #1745 2024-09-17 20:57:45 +02:00
LICENSE new plugin for ics view, based on ical lib 2024-09-17 17:29:40 +02:00
message.js ics-viewer: unwrap attachments and widen the calendar part match 2026-08-14 10:12:06 +00:00
style.css new plugin for ics view, based on ical lib 2024-09-17 17:29:40 +02:00
windowsZones.js new plugin for ics view, based on ical lib 2024-09-17 17:29:40 +02:00