fix: Fix regression in calendar invitation sending

Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
pull/50802/head
SebastianKrupinski 2025-02-12 16:38:53 +07:00 committed by backportbot[bot]
parent 965526cf35
commit 17b86bab47
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;
}