Fix allocation.
parent
2f161cfa50
commit
932595ebec
|
@ -389,7 +389,7 @@ func (c *Client) GetTimelineDirect(ctx context.Context, pg *Pagination) ([]*Stat
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
var statuses = make([]*Status, len(conversations))
|
var statuses = []*Status{}
|
||||||
|
|
||||||
for _, c := range conversations {
|
for _, c := range conversations {
|
||||||
s := c.LastStatus
|
s := c.LastStatus
|
||||||
|
|
Loading…
Reference in New Issue