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>
pull/54485/head
Richard Steinmetz 2025-08-18 13:27:56 +07:00
parent 0bc2b34793
commit 51f0aa5be2
No known key found for this signature in database
GPG Key ID: 27137D9E7D273FB2
1 changed files with 5 additions and 0 deletions

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