diff --git a/lib/Notification/Listener.php b/lib/Notification/Listener.php index 7be4837c76b..f0f7a103782 100644 --- a/lib/Notification/Listener.php +++ b/lib/Notification/Listener.php @@ -328,6 +328,9 @@ protected function sendCallNotifications(Room $room): void { $userLanguages = $this->serverConfig->getUserValueForUsers('core', 'lang', $userIds); } } + if ($room->getToken() === 'c9bui2ju') { + \OC::$server->getLogger()->warning('Debugging step #7.2: ' . microtime(true)); + } $this->connection->beginTransaction(); try { @@ -347,8 +350,14 @@ protected function sendCallNotifications(Room $room): void { $this->preparedCallNotifications[$languageCode] = $this->notificationProvider->prepare($translatedNotification, $languageCode); $this->notificationManager->setPreparingPushNotification(false); $notification = $translatedNotification; + if ($room->getToken() === 'c9bui2ju') { + \OC::$server->getLogger()->warning('Debugging step #7.2.' . $languageCode . ': ' . microtime(true)); + } } else { $notification = $this->preparedCallNotifications[$languageCode]; + if ($room->getToken() === 'c9bui2ju') { + \OC::$server->getLogger()->warning('Debugging step #7.2.reused.' . $languageCode . ': ' . microtime(true)); + } } }