From b51b537711a9128c381d6a24cfa43f2dfd8b6a3e Mon Sep 17 00:00:00 2001 From: Hank G Date: Wed, 30 Nov 2022 14:38:53 -0500 Subject: [PATCH] Update src/Factory/Api/Mastodon/Notification.php Co-authored-by: Hypolite Petovan --- src/Factory/Api/Mastodon/Notification.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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); } /** -- 2.39.5