]> git.mxchange.org Git - friendica.git/blobdiff - src/Object/Api/Friendica/Notification.php
Use the owner, not the author
[friendica.git] / src / Object / Api / Friendica / Notification.php
index a8c4da9966eb819ba36e8eee69b98463c8fbd2fd..df59bb6b8ca8796fdee13e770ca0419e47bd1fb3 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2010-2022, the Friendica project
+ * @copyright Copyright (C) 2010-2023, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -98,7 +98,7 @@ class Notification extends BaseDataTransferObject
                $this->date_rel   = Temporal::getRelativeDate($this->date);
 
                try {
-                       $this->msg_html  = BBCode::convert($this->msg, false);
+                       $this->msg_html  = BBCode::convertForUriId($Notify->uriId, $this->msg, BBCode::EXTERNAL);
                } catch (\Exception $e) {
                        $this->msg_html  = '';
                }