fixed bug
This commit is contained in:
@@ -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);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user