Merge pull request #50802 from nextcloud/backport/50784/stable31

[stable31] fix: Fix regression in calendar invitation sending
This commit is contained in:
Andy Scherzinger 2025-02-17 09:31:52 +01:00 committed by GitHub
commit cd6671c7dd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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