aboutsummaryrefslogtreecommitdiff
path: root/service
diff options
context:
space:
mode:
Diffstat (limited to 'service')
-rw-r--r--service/service.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/service/service.go b/service/service.go
index 7ad860f..0ef8f09 100644
--- a/service/service.go
+++ b/service/service.go
@@ -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"