Browse Source

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 4 months ago
parent
commit
51f0aa5be2
No known key found for this signature in database GPG Key ID: 27137D9E7D273FB2
  1. 5
      apps/dav/lib/Connector/Sabre/Server.php

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

Loading…
Cancel
Save