fix: exclude \Sabre\DAVACL\Plugin from prop find monitoring

Fixes creating events with attendees on the same server.

Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
This commit is contained in:
Richard Steinmetz 2025-08-18 13:27:56 +02:00
parent 0bc2b34793
commit 51f0aa5be2
No known key found for this signature in database
GPG key ID: 27137D9E7D273FB2

View file

@ -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);