diff options
author | Hamid Dehnavi <hamid.dev.pro@gmail.com> | 2023-07-11 10:35:04 +0330 |
---|---|---|
committer | Hamid Dehnavi <hamid.dev.pro@gmail.com> | 2023-07-11 10:35:04 +0330 |
commit | 62af0bf29376879d25865df7978689fba516072f (patch) | |
tree | 1ef38243b850be53514f54e2fa0e404a755f1407 /lib/Notification/Notifier.php | |
parent | 0c9c1ce3c25fe454a2e56e4e38483e93f5a16a05 (diff) |
Make adjustments based on the review
Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
Diffstat (limited to 'lib/Notification/Notifier.php')
-rw-r--r-- | lib/Notification/Notifier.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/Notification/Notifier.php b/lib/Notification/Notifier.php index 6f4adc84a..dffd8c3b3 100644 --- a/lib/Notification/Notifier.php +++ b/lib/Notification/Notifier.php @@ -40,6 +40,7 @@ use OCA\Talk\Service\AvatarService; use OCA\Talk\Service\ParticipantService; use OCA\Talk\Webinary; use OCP\AppFramework\Utility\ITimeFactory; +use OCP\Comments\ICommentsManager; use OCP\Comments\NotFoundException; use OCP\Files\IRootFolder; use OCP\HintException; @@ -65,6 +66,7 @@ class Notifier implements INotifier { protected array $rooms = []; /** @var Participant[][] */ protected array $participants = []; + protected ICommentsManager $commentManager; public function __construct( protected IFactory $lFactory, @@ -78,7 +80,7 @@ class Notifier implements INotifier { protected ParticipantService $participantService, protected AvatarService $avatarService, protected INotificationManager $notificationManager, - protected CommentsManager $commentManager, + CommentsManager $commentManager, protected MessageParser $messageParser, protected IURLGenerator $urlGenerator, protected IRootFolder $rootFolder, @@ -86,6 +88,7 @@ class Notifier implements INotifier { protected Definitions $definitions, protected AddressHandler $addressHandler, ) { + $this->commentManager = $commentManager; } /** |