Skip to content

Commit 8cc0062

Browse files
SebastianKrupinskiAndyScherzinger
authored andcommitted
fix(CalDav): alter invitation attachment filename and type
Signed-off-by: SebastianKrupinski <[email protected]>
1 parent ec7c823 commit 8cc0062

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/dav/lib/CalDAV/Schedule/IMipPlugin.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -275,8 +275,8 @@ public function schedule(Message $iTipMessage) {
275275
$message->setBodyHtml($template->renderHtml());
276276
$message->setAttachments((new Attachment(
277277
$itip_msg,
278-
'event.ics',
279-
'text/calendar; method=' . $iTipMessage->method,
278+
null,
279+
'text/calendar; name=event.ics; method=' . $iTipMessage->method,
280280
true
281281
)));
282282
// send message

0 commit comments

Comments
 (0)