Browse Source

Add default ability to view calendar attachments sent as application/ics

pdontthink 4 years ago
parent
commit
70ecd67cf2
1 changed files with 3 additions and 0 deletions
  1. 3 0
      functions/attachment_common.php

+ 3 - 0
functions/attachment_common.php

@@ -93,6 +93,9 @@ register_attachment_common('text/html',      'link_html');
 register_attachment_common('text/x-vcard',   'link_vcard');
 register_attachment_common('text/directory', 'link_vcard');
 
+/* Register ics (calendar) */
+register_attachment_common('application/ics',  'link_text');
+
 /* Register rules for general types.
  * These will be used if there isn't a more specific rule available. */
 register_attachment_common('text/*',  'link_text');