aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/lib
diff options
context:
space:
mode:
authorAnna Larch <anna@nextcloud.com>2024-04-19 21:22:17 +0200
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2024-04-26 11:20:08 +0000
commite32ea9ab3738071b330e52be1947c19d64de8704 (patch)
tree89c6544bbbf39ab5286937736841ab32d5a9ea20 /apps/dav/lib
parent3496a7ea4d0a98c5075f1d42a2be348cab8787d0 (diff)
downloadnextcloud-server-e32ea9ab3738071b330e52be1947c19d64de8704.tar.gz
nextcloud-server-e32ea9ab3738071b330e52be1947c19d64de8704.zip
fix(CalDAV): remove UNKNOWN from room / resource consideration
Signed-off-by: Anna Larch <anna@nextcloud.com>
Diffstat (limited to 'apps/dav/lib')
-rw-r--r--apps/dav/lib/CalDAV/Schedule/IMipService.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/CalDAV/Schedule/IMipService.php b/apps/dav/lib/CalDAV/Schedule/IMipService.php
index 4cd859d79ac..95c6b5739af 100644
--- a/apps/dav/lib/CalDAV/Schedule/IMipService.php
+++ b/apps/dav/lib/CalDAV/Schedule/IMipService.php
@@ -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;
}