080920 Replaced Invidio.us instance

This commit is contained in:
Daisuke
2020-09-08 14:38:27 -05:00
parent d25fbc8bea
commit fd6ab22418
2 changed files with 3 additions and 3 deletions

View File

@ -457,10 +457,10 @@ function getnotes($thread) {
global $setting;
global $logedin;
@$reb = array(
json_decode(file_get_contents("https://$srv/api/v1/statuses/" . $thread . "/reblogged_by") , true)
api_get("statuses/" . $thread . "/reblogged_by")
);
@$fab = array(
json_decode(file_get_contents("https://$srv/api/v1/statuses/" . $thread . "/favourited_by") , true)
api_get("statuses/" . $thread . "/favourited_by")
);
$limit = (count($reb[0]) > count($fab[0]) ? count($reb[0]) - 1 : count($fab[0]) - 1);