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

fix(CalDav): alter invitation attachment filename and type
pull/51468/head
Daniel 2025-03-13 17:40:37 +07:00 committed by GitHub
commit 2026dfd1b9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

@ -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