diff options
author | r <r@freesoftwareextremist.com> | 2020-01-28 20:56:15 +0000 |
---|---|---|
committer | r <r@freesoftwareextremist.com> | 2020-01-28 20:56:15 +0000 |
commit | 2c084dfd097da448a830a8e017af0175209259ab (patch) | |
tree | b3b339f645d88442505eb79729b7983b68950206 /service | |
parent | a877c58ac38f1616080edfe2fad477cbb5f03c9a (diff) | |
download | bloat-2c084dfd097da448a830a8e017af0175209259ab.tar.gz bloat-2c084dfd097da448a830a8e017af0175209259ab.zip |
Add direct timeline
Diffstat (limited to 'service')
-rw-r--r-- | service/service.go | 3 |
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" |