diff options
author | Joas Schilling <coding@schilljs.com> | 2019-10-04 12:03:03 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2019-10-04 12:03:03 +0300 |
commit | 5a8f8fd6a6b4404879722f4a1a0403c79af5fce1 (patch) | |
tree | c95702659db93f0d1f6d1788e6ca0e2b77039756 /lib/Notification/Notifier.php | |
parent | 6efb543603b0a59acdbdf2355251ca3251e390ff (diff) |
Fix "MessageTooLongException" when mentioning someone in a long comment
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/Notification/Notifier.php')
-rw-r--r-- | lib/Notification/Notifier.php | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/Notification/Notifier.php b/lib/Notification/Notifier.php index f34037610..d5c59eb3e 100644 --- a/lib/Notification/Notifier.php +++ b/lib/Notification/Notifier.php @@ -23,6 +23,7 @@ declare(strict_types=1); namespace OCA\Talk\Notification; +use OCA\Talk\Chat\CommentsManager; use OCA\Talk\Chat\MessageParser; use OCA\Talk\Config; use OCA\Talk\Exceptions\ParticipantNotFoundException; @@ -31,7 +32,6 @@ use OCA\Talk\GuestManager; use OCA\Talk\Manager; use OCA\Talk\Participant; use OCA\Talk\Room; -use OCP\Comments\ICommentsManager; use OCP\Comments\NotFoundException; use OCP\IL10N; use OCP\IURLGenerator; @@ -44,7 +44,6 @@ use OCP\Notification\IManager as INotificationManager; use OCP\Notification\INotification; use OCP\Notification\INotifier; use OCP\RichObjectStrings\Definitions; -use OCP\Share; use OCP\Share\Exceptions\ShareNotFound; use OCP\Share\IManager as IShareManager; use OCP\Share\IShare; @@ -67,7 +66,7 @@ class Notifier implements INotifier { protected $manager; /** @var INotificationManager */ protected $notificationManager; - /** @var ICommentsManager */ + /** @var CommentsManager */ protected $commentManager; /** @var MessageParser */ protected $messageParser; @@ -82,7 +81,7 @@ class Notifier implements INotifier { IShareManager $shareManager, Manager $manager, INotificationManager $notificationManager, - ICommentsManager $commentManager, + CommentsManager $commentManager, MessageParser $messageParser, Definitions $definitions) { $this->lFactory = $lFactory; |