Skip to content

Commit 56374bf

Browse files
fix(CalDav): alter invitation attachment filename and type
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
1 parent ca86133 commit 56374bf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
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)