limit statuses to 100 instead of 200

This commit is contained in:
gutmet 2022-11-23 23:50:06 +01:00
parent 12af5ce91b
commit 154b90a902

View File

@ -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")
} }