mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-01 10:32:25 -05:00
have a local and public timeline *per user*
This commit is contained in:
parent
7ee2ef039c
commit
374f0f5175
3 changed files with 9 additions and 14 deletions
|
@ -57,8 +57,8 @@ func (p *Processor) publicTimelineGet(
|
|||
// account.
|
||||
requester,
|
||||
|
||||
// Global public timeline cache.
|
||||
&p.state.Caches.Timelines.Public,
|
||||
// Keyed-by-account-ID, public timeline cache.
|
||||
p.state.Caches.Timelines.Public.MustGet(requester.ID),
|
||||
|
||||
// Current
|
||||
// page.
|
||||
|
@ -110,8 +110,8 @@ func (p *Processor) localTimelineGet(
|
|||
// account.
|
||||
requester,
|
||||
|
||||
// Global local timeline cache.
|
||||
&p.state.Caches.Timelines.Local,
|
||||
// Keyed-by-account-ID, local timeline cache.
|
||||
p.state.Caches.Timelines.Local.MustGet(requester.ID),
|
||||
|
||||
// Current
|
||||
// page.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue