mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-29 04:22:24 -05:00
further list timeline fixes
This commit is contained in:
parent
8bec0eb5ff
commit
eadd5a6f0f
1 changed files with 2 additions and 2 deletions
|
|
@ -72,7 +72,7 @@ func (p *Processor) ListTimelineGet(
|
|||
requester,
|
||||
|
||||
// Keyed-by-list-ID, list timeline cache.
|
||||
p.state.Caches.Timelines.List.MustGet(list.ID),
|
||||
p.state.Caches.Timelines.List.MustGet(listID),
|
||||
|
||||
// Current
|
||||
// page.
|
||||
|
|
@ -90,7 +90,7 @@ func (p *Processor) ListTimelineGet(
|
|||
|
||||
// Database load function.
|
||||
func(pg *paging.Page) (statuses []*gtsmodel.Status, err error) {
|
||||
return p.state.DB.GetListTimeline(ctx, requester.ID, pg)
|
||||
return p.state.DB.GetListTimeline(ctx, listID, pg)
|
||||
},
|
||||
|
||||
// Pre-filtering function,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue