From 51f0aa5be2baa9bddacfb4644ec9fc3375cf520e Mon Sep 17 00:00:00 2001 From: Richard Steinmetz Date: Mon, 18 Aug 2025 13:27:56 +0200 Subject: [PATCH] fix: exclude \Sabre\DAVACL\Plugin from prop find monitoring Fixes creating events with attendees on the same server. Signed-off-by: Richard Steinmetz --- apps/dav/lib/Connector/Sabre/Server.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/apps/dav/lib/Connector/Sabre/Server.php b/apps/dav/lib/Connector/Sabre/Server.php index eef65000131..08159f0810f 100644 --- a/apps/dav/lib/Connector/Sabre/Server.php +++ b/apps/dav/lib/Connector/Sabre/Server.php @@ -86,6 +86,11 @@ class Server extends \Sabre\DAV\Server { $parentFn($eventName, $callBack, $priority); return; } + // The \Sabre\DAVACL\Plugin needs to excluded as it relies on removeListener() + if ($pluginName === \Sabre\DAVACL\Plugin::class) { + $parentFn($eventName, $callBack, $priority); + return; + } $callback = $this->getMonitoredCallback($callBack, $pluginName, $eventName);