Null out min/max/since ID fields by default in Mastodon Timeline API
This commit is contained in:
parent
614ad32f71
commit
cbf55241a3
1 changed files with 3 additions and 3 deletions
|
@ -45,9 +45,9 @@ class Home extends BaseApi
|
||||||
$uid = self::getCurrentUserID();
|
$uid = self::getCurrentUserID();
|
||||||
|
|
||||||
$request = $this->getRequest([
|
$request = $this->getRequest([
|
||||||
'max_id' => '0', // Return results older than id
|
'max_id' => null, // Return results older than id
|
||||||
'since_id' => 0, // Return results newer than id
|
'since_id' => null, // Return results newer than id
|
||||||
'min_id' => '0', // Return results immediately newer than id
|
'min_id' => null, // Return results immediately newer than id
|
||||||
'limit' => 20, // Maximum number of results to return. Defaults to 20.
|
'limit' => 20, // Maximum number of results to return. Defaults to 20.
|
||||||
'local' => false, // Return only local statuses?
|
'local' => false, // Return only local statuses?
|
||||||
'with_muted' => false, // Pleroma extension: return activities by muted (not by blocked!) users.
|
'with_muted' => false, // Pleroma extension: return activities by muted (not by blocked!) users.
|
||||||
|
|
Loading…
Reference in a new issue