Browse Source

fix torrent filter status

main
ghost 1 year ago
parent
commit
130add0904
  1. 2
      src/Controller/TorrentController.php

2
src/Controller/TorrentController.php

@ -85,7 +85,7 @@ class TorrentController extends AbstractController @@ -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));
}
}

Loading…
Cancel
Save