From 805c67b7594b8e988da6ec51da445002c820e83f Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Wed, 18 Oct 2023 12:32:40 +0200 Subject: [PATCH] [bugfix] add missing "local" param in public timeline link headers (#2277) --- internal/processing/timeline/public.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/internal/processing/timeline/public.go b/internal/processing/timeline/public.go index 0ace00c0b..0eb4a33c0 100644 --- a/internal/processing/timeline/public.go +++ b/internal/processing/timeline/public.go @@ -20,6 +20,7 @@ package timeline import ( "context" "errors" + "strconv" apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model" "github.com/superseriousbusiness/gotosocial/internal/db" @@ -76,5 +77,8 @@ func (p *Processor) PublicTimelineGet(ctx context.Context, authed *oauth.Auth, m NextMaxIDValue: nextMaxIDValue, PrevMinIDValue: prevMinIDValue, Limit: limit, + ExtraQueryParams: []string{ + "local=" + strconv.FormatBool(local), + }, }) }