]> git.mxchange.org Git - friendica.git/commitdiff
Update src/Factory/Api/Mastodon/Notification.php
authorHank G <hankgrabowski@gmail.com>
Wed, 30 Nov 2022 19:38:53 +0000 (14:38 -0500)
committerGitHub <noreply@github.com>
Wed, 30 Nov 2022 19:38:53 +0000 (14:38 -0500)
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
src/Factory/Api/Mastodon/Notification.php

index ec6581cc580b8a624cb2911b5b8ba049b50e1aec..c85cfac7868e31d4eb27410476303066fe701695 100644 (file)
@@ -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);
        }
 
        /**