From b9247bba940d932475f31271286079a30ad898bf Mon Sep 17 00:00:00 2001 From: SebastianKrupinski Date: Wed, 12 Mar 2025 09:31:12 -0400 Subject: [PATCH] fix(CalDav): alter invitation attachment filename and type Signed-off-by: SebastianKrupinski --- apps/dav/lib/CalDAV/Schedule/IMipPlugin.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/dav/lib/CalDAV/Schedule/IMipPlugin.php b/apps/dav/lib/CalDAV/Schedule/IMipPlugin.php index 79b625d25b766..a3c3f4cb241de 100644 --- a/apps/dav/lib/CalDAV/Schedule/IMipPlugin.php +++ b/apps/dav/lib/CalDAV/Schedule/IMipPlugin.php @@ -289,8 +289,8 @@ public function schedule(Message $iTipMessage) { $message->setBodyHtml($template->renderHtml()); $message->setAttachments((new \OCP\Mail\Provider\Attachment( $itip_msg, - 'event.ics', - 'text/calendar; method=' . $iTipMessage->method, + null, + 'text/calendar; name=event.ics; method=' . $iTipMessage->method, true ))); // send message