Merge pull request #44938 from nextcloud/fix/remove-unknown-from-imip-service

fix(CalDAV): remove UNKNOWN from room / resource consideration
pull/44496/head
Anna 3 weeks ago committed by GitHub
commit 10af08736e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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