]> 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 1bec7cfed165880153ebef6df92b45f8420a2daf..df59bb6b8ca8796fdee13e770ca0419e47bd1fb3 100644 (file)
@@ -1,8 +1,8 @@
 <?php
 /**
- * @copyright Copyright (C) 2010-2021, the Friendica project
+ * @copyright Copyright (C) 2010-2023, the Friendica project
  *
- * @license   GNU AGPL version 3 or any later version
+ * @license GNU AGPL version 3 or any later version
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU Affero General Public License as
@@ -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  = '';
                }