summaryrefslogtreecommitdiffstats
path: root/lib/private/notification
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/notification')
-rw-r--r--lib/private/notification/manager.php2
-rw-r--r--lib/private/notification/notification.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/notification/manager.php b/lib/private/notification/manager.php
index eee03d93db2..933c6199bc5 100644
--- a/lib/private/notification/manager.php
+++ b/lib/private/notification/manager.php
@@ -141,7 +141,7 @@ class Manager implements IManager {
foreach ($notifiers as $notifier) {
try {
- $notifier->prepare($notification, $languageCode);
+ $notification = $notifier->prepare($notification, $languageCode);
} catch (\InvalidArgumentException $e) {
continue;
}
diff --git a/lib/private/notification/notification.php b/lib/private/notification/notification.php
index f5171f150c6..5151b5546a8 100644
--- a/lib/private/notification/notification.php
+++ b/lib/private/notification/notification.php
@@ -248,7 +248,7 @@ class Notification implements INotification {
* @since 8.2.0
*/
public function getParsedSubject() {
- return $this->messageParsed;
+ return $this->subjectParsed;
}
/**