From f6f7b27e40f97ffe88323be01bea1d04ca39d6b0 Mon Sep 17 00:00:00 2001 From: r Date: Wed, 25 Dec 2019 04:30:21 +0000 Subject: Add local and twkn timelines --- mastodon/status.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mastodon') diff --git a/mastodon/status.go b/mastodon/status.go index 9f029d1..c36b6cb 100644 --- a/mastodon/status.go +++ b/mastodon/status.go @@ -192,7 +192,7 @@ func (c *Client) GetTimelineHome(ctx context.Context, pg *Pagination) ([]*Status func (c *Client) GetTimelinePublic(ctx context.Context, isLocal bool, pg *Pagination) ([]*Status, error) { params := url.Values{} if isLocal { - params.Set("local", "t") + params.Set("local", "true") } var statuses []*Status -- cgit v1.2.3