Null out min/max/since ID fields by default in Mastodon Timeline API

pull/12853/head
Hank Grabowski 2023-02-23 07:03:58 -05:00
rodzic 614ad32f71
commit cbf55241a3
1 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -45,9 +45,9 @@ class Home extends BaseApi
$uid = self::getCurrentUserID();
$request = $this->getRequest([
'max_id' => '0', // Return results older than id
'since_id' => 0, // Return results newer than id
'min_id' => '0', // Return results immediately newer than id
'max_id' => null, // Return results older than id
'since_id' => null, // Return results newer than id
'min_id' => null, // Return results immediately newer than id
'limit' => 20, // Maximum number of results to return. Defaults to 20.
'local' => false, // Return only local statuses?
'with_muted' => false, // Pleroma extension: return activities by muted (not by blocked!) users.