Merge pull request #45053 from nextcloud/backport/44938/stable29

[stable29] fix(CalDAV): remove UNKNOWN from room / resource consideration
This commit is contained in:
Richard Steinmetz 2024-04-26 14:24:53 +02:00 committed by GitHub
commit 70af653dc6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -682,7 +682,7 @@ class IMipService {
return false;
}
$type = $cuType->getValue() ?? 'INDIVIDUAL';
if (\in_array(strtoupper($type), ['RESOURCE', 'ROOM', 'UNKNOWN'], true)) {
if (\in_array(strtoupper($type), ['RESOURCE', 'ROOM'], true)) {
// Don't send emails to things
return true;
}