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

Signed-off-by: Anna Larch <anna@nextcloud.com>
backport/44938/stable28
Anna Larch 1 month ago committed by Anna
parent 369247338b
commit e7071c9291

@ -682,7 +682,7 @@ class IMipService {
return false; return false;
} }
$type = $cuType->getValue() ?? 'INDIVIDUAL'; $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 // Don't send emails to things
return true; return true;
} }

Loading…
Cancel
Save