limit statuses to 100 instead of 200
This commit is contained in:
parent
12af5ce91b
commit
154b90a902
|
@ -144,7 +144,7 @@ func UpdateCurrentAccount(profile *Profile) (*Account, error) {
|
||||||
func (a *Account) GetStatuses(excludeBoosts bool, pg *Pagination) ([]*Status, error) {
|
func (a *Account) GetStatuses(excludeBoosts bool, pg *Pagination) ([]*Status, error) {
|
||||||
var statuses []*Status
|
var statuses []*Status
|
||||||
params := url.Values{}
|
params := url.Values{}
|
||||||
params.Set("limit", "200")
|
params.Set("limit", "100")
|
||||||
if excludeBoosts {
|
if excludeBoosts {
|
||||||
params.Set("exclude_reblogs", "true")
|
params.Set("exclude_reblogs", "true")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user