mirror of
https://gitea.phreedom.club/localhost_frssoft/bloat.git
synced 2025-05-05 11:28:45 +00:00
Add direct timeline
This commit is contained in:
parent
a877c58ac3
commit
2c084dfd09
3 changed files with 16 additions and 0 deletions
|
@ -211,6 +211,9 @@ func (svc *service) ServeTimelinePage(ctx context.Context, c *model.Client,
|
|||
case "home":
|
||||
statuses, err = c.GetTimelineHome(ctx, &pg)
|
||||
title = "Timeline"
|
||||
case "direct":
|
||||
statuses, err = c.GetTimelineDirect(ctx, &pg)
|
||||
title = "Local Timeline"
|
||||
case "local":
|
||||
statuses, err = c.GetTimelinePublic(ctx, true, &pg)
|
||||
title = "Local Timeline"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue