]> git.mxchange.org Git - friendica.git/blobdiff - src/Model/Subscription.php
Use rawContent for Special Options to avoid a protected options() method
[friendica.git] / src / Model / Subscription.php
index c6c57c732835da504b97cb9c6f95215636456b5a..0d8f346d18281dfd80035b4b1c0c14c2f7fe2768 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2010-2021, the Friendica project
+ * @copyright Copyright (C) 2010-2022, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -154,7 +154,7 @@ class Subscription
                }
 
                if ($desktop_notification) {
-                       notification_from_array($Notification);
+                       DI::notify()->createFromNotification($Notification);
                }
 
                if (empty($type)) {