From 6074e24e7e1677aaa67a9d31087427eb2e89c875 Mon Sep 17 00:00:00 2001 From: Luka Trovic Date: Thu, 18 Sep 2025 20:58:43 +0200 Subject: [PATCH] fix(notification): missing notification Signed-off-by: Luka Trovic --- lib/NotificationGenerator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/NotificationGenerator.php b/lib/NotificationGenerator.php index 43dfc6d1b..e65592e48 100644 --- a/lib/NotificationGenerator.php +++ b/lib/NotificationGenerator.php @@ -50,7 +50,7 @@ public function sendNotificationForEvent(IEvent $event, int $activityId, ?bool $ private function getNotificationForEvent(IEvent $event, int $activityId): INotification { $notification = $this->notificationManager->createNotification(); - $notification->setApp($event->getApp()); + $notification->setApp($this->getID()); $notification->setUser($event->getAffectedUser()); $notification->setDateTime(\DateTime::createFromFormat('U', (string)$event->getTimestamp())); $notification->setObject('activity_notification', (string)$activityId);