diff --git a/mastodon/status.go b/mastodon/status.go index 806eb6c..38a713b 100644 --- a/mastodon/status.go +++ b/mastodon/status.go @@ -258,7 +258,7 @@ func (c *Client) TrueRemoteTimeline(ctx context.Context, instance string, instan var publicstatuses []*Status var instanceParams []string instanceParams = strings.Split(instance, ":")[1:] - instance = strings.Split(instance, ":")[0] + instance = strings.TrimSpace(strings.Split(instance, ":")[0]) params := url.Values{} params.Set("local", "true")