Merge pull request #44938 from nextcloud/fix/remove-unknown-from-imip-service

fix(CalDAV): remove UNKNOWN from room / resource consideration
This commit is contained in:
Anna 2024-04-26 13:16:29 +02:00 committed by GitHub
commit 10af08736e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

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;
}