fix(CalDAV): remove UNKNOWN from room / resource consideration

Signed-off-by: Anna Larch <anna@nextcloud.com>
This commit is contained in:
Anna Larch 2024-04-19 21:22:17 +02:00 committed by backportbot[bot]
parent 6c132af3e6
commit 5e9da1bf46

View file

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