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

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

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

Loading…
Cancel
Save