From: Hank G Date: Wed, 30 Nov 2022 19:38:53 +0000 (-0500) Subject: Update src/Factory/Api/Mastodon/Notification.php X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b51b537711a9128c381d6a24cfa43f2dfd8b6a3e;p=friendica.git Update src/Factory/Api/Mastodon/Notification.php Co-authored-by: Hypolite Petovan --- diff --git a/src/Factory/Api/Mastodon/Notification.php b/src/Factory/Api/Mastodon/Notification.php index ec6581cc58..c85cfac786 100644 --- a/src/Factory/Api/Mastodon/Notification.php +++ b/src/Factory/Api/Mastodon/Notification.php @@ -70,9 +70,7 @@ class Notification extends BaseFactory $status = null; } - $dismissed = $Notification->dismissed; - - return new MstdnNotification($Notification->id, $type, $Notification->created, $account, $status, $dismissed); + return new MstdnNotification($Notification->id, $type, $Notification->created, $account, $status, $Notification->dismissed); } /**