diff options
| author | 2023-10-18 12:32:40 +0200 | |
|---|---|---|
| committer | 2023-10-18 12:32:40 +0200 | |
| commit | 805c67b7594b8e988da6ec51da445002c820e83f (patch) | |
| tree | a90db2f7c4bf20f06584bd8594a93901197d6a28 /internal/processing/timeline | |
| parent | [bugfix] Postgres error wrapping fix (#2276) (diff) | |
| download | gotosocial-805c67b7594b8e988da6ec51da445002c820e83f.tar.xz | |
[bugfix] add missing "local" param in public timeline link headers (#2277)v0.12.0-rc2
Diffstat (limited to 'internal/processing/timeline')
| -rw-r--r-- | internal/processing/timeline/public.go | 4 | 
1 files changed, 4 insertions, 0 deletions
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), +		},  	})  }  | 
