mirror of
https://gitea.phreedom.club/localhost_frssoft/bloat.git
synced 2024-12-22 11:23:33 +02:00
ignore whitespaces in instance, because it cause internal errors
This commit is contained in:
parent
62f653fc28
commit
2bbcce5133
1 changed files with 1 additions and 1 deletions
|
@ -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