]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Notifications/Notifications.php
Allow the search for contacts on blocked servers via web
[friendica.git] / src / Module / Notifications / Notifications.php
index 90ea9c28ba53fdccb85f79a620a84e531e220373..7852f81c2430e613ebb9cba837cf1e5ddd04ff59 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2010-2022, the Friendica project
+ * @copyright Copyright (C) 2010-2023, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -26,6 +26,7 @@ use Friendica\App\Arguments;
 use Friendica\Content\Nav;
 use Friendica\Core\L10n;
 use Friendica\Core\Renderer;
+use Friendica\Core\Session\Capability\IHandleUserSessions;
 use Friendica\Module\BaseNotifications;
 use Friendica\Module\Response;
 use Friendica\Navigation\Notifications\ValueObject\FormattedNotify;
@@ -44,9 +45,9 @@ class Notifications extends BaseNotifications
        /** @var \Friendica\Navigation\Notifications\Factory\FormattedNotify */
        protected $formattedNotifyFactory;
 
-       public function __construct(L10n $l10n, App\BaseURL $baseUrl, Arguments $args, LoggerInterface $logger, Profiler $profiler, Response $response, \Friendica\Navigation\Notifications\Factory\FormattedNotify $formattedNotifyFactory, array $server, array $parameters = [])
+       public function __construct(L10n $l10n, App\BaseURL $baseUrl, Arguments $args, LoggerInterface $logger, Profiler $profiler, Response $response, \Friendica\Navigation\Notifications\Factory\FormattedNotify $formattedNotifyFactory, IHandleUserSessions $userSession, array $server, array $parameters = [])
        {
-               parent::__construct($l10n, $baseUrl, $args, $logger, $profiler, $response, $server, $parameters);
+               parent::__construct($l10n, $baseUrl, $args, $logger, $profiler, $response, $userSession, $server, $parameters);
 
                $this->formattedNotifyFactory = $formattedNotifyFactory;
        }