summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Steinmetz <richard@steinmetz.cloud>2024-04-26 14:24:57 +0200
committerGitHub <noreply@github.com>2024-04-26 14:24:57 +0200
commit3cc5b6591e935e301c454ebcc799b191ad6c1797 (patch)
treed77840ff81ff802df404d3338542ee55071abef9
parent6c132af3e687995ae94c51636443353cbdb32059 (diff)
parent5e9da1bf46cc763d06403fea9e777b59888b7ed0 (diff)
downloadnextcloud-server-3cc5b6591e935e301c454ebcc799b191ad6c1797.tar.gz
nextcloud-server-3cc5b6591e935e301c454ebcc799b191ad6c1797.zip
Merge pull request #45051 from nextcloud/backport/44938/stable27
[stable27] fix(CalDAV): remove UNKNOWN from room / resource consideration
-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;
}