mirror of https://github.com/nextcloud/server
Merge pull request #44938 from nextcloud/fix/remove-unknown-from-imip-service
fix(CalDAV): remove UNKNOWN from room / resource consideration
This commit is contained in:
commit
10af08736e
|
@ -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…
Reference in New Issue