mirror of
https://git.phreedom.club/localhost_frssoft/bloat.git
synced 2024-11-22 03:51: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 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")
|
||||
|
||||
|
|
Loading…
Reference in a new issue