diff --git a/lib/Notification/Notifier.php b/lib/Notification/Notifier.php index c1c17b7bd8b..f904ab969b3 100644 --- a/lib/Notification/Notifier.php +++ b/lib/Notification/Notifier.php @@ -617,7 +617,7 @@ protected function parseChatMessage(INotification $notification, Room $room, Par } $richSubjectParameters['message'] = [ 'type' => 'highlight', - 'id' => $message->getMessageId(), + 'id' => (string)$message->getMessageId(), 'name' => $shortenMessage, ]; if ($notification->getSubject() === 'reminder') {