summaryrefslogtreecommitdiffstats
path: root/apps/comments/lib
diff options
context:
space:
mode:
Diffstat (limited to 'apps/comments/lib')
-rw-r--r--apps/comments/lib/Activity/Provider.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/comments/lib/Activity/Provider.php b/apps/comments/lib/Activity/Provider.php
index 542785f2cf8..a691d7dd644 100644
--- a/apps/comments/lib/Activity/Provider.php
+++ b/apps/comments/lib/Activity/Provider.php
@@ -113,7 +113,7 @@ class Provider implements IProvider {
* @throws \InvalidArgumentException
*/
protected function parseShortVersion(IEvent $event) {
- $subjectParameters = $event->getSubjectParameters();
+ $subjectParameters = $this->getSubjectParameters($event);
if ($event->getSubject() === 'add_comment_subject') {
if ($subjectParameters['actor'] === $this->activityManager->getCurrentUserId()) {
@@ -139,7 +139,7 @@ class Provider implements IProvider {
* @throws \InvalidArgumentException
*/
protected function parseLongVersion(IEvent $event) {
- $subjectParameters = $event->getSubjectParameters();
+ $subjectParameters = $this->getSubjectParameters($event);
if ($event->getSubject() === 'add_comment_subject') {
if ($subjectParameters['actor'] === $this->activityManager->getCurrentUserId()) {