Merge pull request #36898 from nextcloud/fix/36897/recipient-name-string

fix(caldav): convert iMip recipient name to a string
This commit is contained in:
Richard Steinmetz 2023-02-28 19:10:17 +01:00 committed by GitHub
commit 7c477d4028
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -173,7 +173,7 @@ class IMipPlugin extends SabreIMipPlugin {
$iTipMessage->scheduleStatus = '5.0; EMail delivery failed';
return;
}
$recipientName = $iTipMessage->recipientName ?: null;
$recipientName = $iTipMessage->recipientName ? (string)$iTipMessage->recipientName : null;
$newEvents = $iTipMessage->message;
$oldEvents = $this->getVCalendar();