Merge pull request #50784 from nextcloud/fix/issue-50054-resource-invite-regression

fix: Fix regression in calendar invitation sending
pull/50809/head
Daniel 2025-02-13 21:08:59 +07:00 committed by GitHub
commit d865a2b3c4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

@ -1148,7 +1148,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;
}