aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastianKrupinski <krupinskis05@gmail.com>2025-02-12 16:38:53 -0500
committerDaniel <mail@danielkesselberg.de>2025-02-13 20:49:26 +0100
commitaded11fe071bf19bf51d1c3b0449bf7a66de4762 (patch)
tree942c7ca84689777bae7368a0f13e274dc599cebe
parent8c69bf1219c03faa05c1f74c2f600d8a3eca1e6e (diff)
downloadnextcloud-server-aded11fe071bf19bf51d1c3b0449bf7a66de4762.tar.gz
nextcloud-server-aded11fe071bf19bf51d1c3b0449bf7a66de4762.zip
fix: Fix regression in calendar invitation sendingfix/issue-50054-resource-invite-regression
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
-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 69c9e774042..e2844960a23 100644
--- a/apps/dav/lib/CalDAV/Schedule/IMipService.php
+++ b/apps/dav/lib/CalDAV/Schedule/IMipService.php
@@ -1148,7 +1148,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;
}