fixed bug

This commit is contained in:
huangjx
2021-10-05 09:35:21 +08:00
parent b8b4d34b38
commit 6e8b607dd9

View File

@@ -265,7 +265,7 @@ class Aria2Controller extends Controller
} }
$data = array_filter($resp, function ($value) { $data = array_filter($resp, function ($value) {
$gid = $value['gid']; $gid = $value['following'] ?? $value['gid'];
return (bool) ($this->dbconn->getUidByGid($gid) === $this->uid); return (bool) ($this->dbconn->getUidByGid($gid) === $this->uid);
}); });