From 3949117be01ac8aca7e41a7179506f27627654e5 Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Mon, 31 Mar 2025 15:51:17 +0200 Subject: [feature] Use blurhashes in frontend, tidy up gallery view a bit (#3948) * [feature] Use blurhashes in frontend, tidy up gallery view a bit * weeeeeeeeeeeeeeeee * beep boop --- internal/processing/account/statuses.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'internal/processing') diff --git a/internal/processing/account/statuses.go b/internal/processing/account/statuses.go index 701fe44ae..3b4e067f9 100644 --- a/internal/processing/account/statuses.go +++ b/internal/processing/account/statuses.go @@ -144,6 +144,7 @@ func (p *Processor) WebStatusesGet( ctx context.Context, targetAccountID string, mediaOnly bool, + limit int, maxID string, ) (*apimodel.PageableResponse, gtserror.WithCode) { account, err := p.state.DB.GetAccountByID(ctx, targetAccountID) @@ -164,7 +165,7 @@ func (p *Processor) WebStatusesGet( ctx, account, mediaOnly, - 20, + limit, maxID, ) if err != nil && !errors.Is(err, db.ErrNoEntries) { -- cgit v1.2.3