From 130add09049bea2ebe1c253b433c124688f648e8 Mon Sep 17 00:00:00 2001 From: ghost Date: Fri, 13 Oct 2023 16:01:17 +0300 Subject: [PATCH] fix torrent filter status --- src/Controller/TorrentController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Controller/TorrentController.php b/src/Controller/TorrentController.php index 646b8eb..af59123 100644 --- a/src/Controller/TorrentController.php +++ b/src/Controller/TorrentController.php @@ -85,7 +85,7 @@ class TorrentController extends AbstractController { foreach ($announce as $tracker) { - $allTrackers[$tracker] = $user->isYggdrasil() && !in_array($tracker, $appTrackers); + $allTrackers[$tracker] = !($user->isYggdrasil() && !in_array($tracker, $appTrackers)); } }