aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2022-03-15 16:10:29 +0100
committerChristoph Wurst <christoph@winzerhof-wurst.at>2022-03-15 16:10:29 +0100
commit282bedecd78a917bb504212b4091a8f72529ea69 (patch)
treeb7e28b64d00926e6b0ac6752f0688ddff72ec2f0 /lib
parent6c01863d392e01651fb7d517083ce36f47ade91f (diff)
downloadnextcloud-server-282bedecd78a917bb504212b4091a8f72529ea69.tar.gz
nextcloud-server-282bedecd78a917bb504212b4091a8f72529ea69.zip
Fix unknown Talk broker interface
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib')
-rw-r--r--lib/private/Server.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/private/Server.php b/lib/private/Server.php
index 38720ab71c0..00afaf1d6a9 100644
--- a/lib/private/Server.php
+++ b/lib/private/Server.php
@@ -144,6 +144,7 @@ use OC\Share20\ProviderFactory;
use OC\Share20\ShareHelper;
use OC\SystemTag\ManagerFactory as SystemTagManagerFactory;
use OC\Tagging\TagMapper;
+use OC\Talk\Broker;
use OC\Template\JSCombiner;
use OCA\Theming\ImageManager;
use OCA\Theming\ThemingDefaults;
@@ -234,6 +235,7 @@ use OCP\Security\VerificationToken\IVerificationToken;
use OCP\Share\IShareHelper;
use OCP\SystemTag\ISystemTagManager;
use OCP\SystemTag\ISystemTagObjectMapper;
+use OCP\Talk\IBroker;
use OCP\User\Events\BeforePasswordUpdatedEvent;
use OCP\User\Events\BeforeUserCreatedEvent;
use OCP\User\Events\BeforeUserDeletedEvent;
@@ -1400,6 +1402,8 @@ class Server extends ServerContainer implements IServerContainer {
$this->registerAlias(\OCP\UserStatus\IManager::class, \OC\UserStatus\Manager::class);
+ $this->registerAlias(IBroker::class, Broker::class);
+
$this->connectDispatcher();
}