summaryrefslogtreecommitdiffstats
path: root/apps
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:21:28 +0000
commit5e9da1bf46cc763d06403fea9e777b59888b7ed0 (patch)
treed77840ff81ff802df404d3338542ee55071abef9 /apps
parent6c132af3e687995ae94c51636443353cbdb32059 (diff)
downloadnextcloud-server-5e9da1bf46cc763d06403fea9e777b59888b7ed0.tar.gz
nextcloud-server-5e9da1bf46cc763d06403fea9e777b59888b7ed0.zip
fix(CalDAV): remove UNKNOWN from room / resource consideration
Signed-off-by: Anna Larch <anna@nextcloud.com>
Diffstat (limited to 'apps')
-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 1e7b0bc3b02..980a2d95153 100644
--- a/apps/dav/lib/CalDAV/Schedule/IMipService.php
+++ b/apps/dav/lib/CalDAV/Schedule/IMipService.php
@@ -680,7 +680,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;
}