mirror of
https://git.phreedom.club/localhost_frssoft/bloat.git
synced 2024-11-25 13:21:28 +00:00
ignore whitespaces in instance, because it cause internal errors
This commit is contained in:
parent
62f653fc28
commit
2bbcce5133
|
@ -258,7 +258,7 @@ func (c *Client) TrueRemoteTimeline(ctx context.Context, instance string, instan
|
||||||
var publicstatuses []*Status
|
var publicstatuses []*Status
|
||||||
var instanceParams []string
|
var instanceParams []string
|
||||||
instanceParams = strings.Split(instance, ":")[1:]
|
instanceParams = strings.Split(instance, ":")[1:]
|
||||||
instance = strings.Split(instance, ":")[0]
|
instance = strings.TrimSpace(strings.Split(instance, ":")[0])
|
||||||
params := url.Values{}
|
params := url.Values{}
|
||||||
params.Set("local", "true")
|
params.Set("local", "true")
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue