Merge pull request #51441 from nextcloud/fix/alter-invite-attachment-filename-and-type

fix(CalDav): alter invitation attachment filename and type
This commit is contained in:
Daniel 2025-03-13 17:40:37 +01:00 committed by GitHub
commit 2026dfd1b9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -275,8 +275,8 @@ class IMipPlugin extends SabreIMipPlugin {
$message->setBodyHtml($template->renderHtml());
$message->setAttachments((new Attachment(
$itip_msg,
'event.ics',
'text/calendar; method=' . $iTipMessage->method,
null,
'text/calendar; name=event.ics; method=' . $iTipMessage->method,
true
)));
// send message