Skip to content

Commit 3cbbcab

Browse files
committed
fixup! fix(notifications): Preparse call notifications for improved performance
1 parent db80a4e commit 3cbbcab

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lib/Notification/Listener.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -314,10 +314,8 @@ protected function sendCallNotifications(Room $room): void {
314314
$this->notificationManager->setPreparingPushNotification(true);
315315
$this->preparedCallNotifications[$languageCode] = $this->notificationProvider->prepare($translatedNotification, $languageCode);
316316
$this->notificationManager->setPreparingPushNotification(false);
317-
$userNotification = $translatedNotification;
318-
} else {
319-
$userNotification = $this->preparedCallNotifications[$languageCode];
320317
}
318+
$userNotification = $this->preparedCallNotifications[$languageCode];
321319
} else {
322320
$userNotification = $notification;
323321
}

0 commit comments

Comments
 (0)