diff options
| author | 2025-03-31 15:51:17 +0200 | |
|---|---|---|
| committer | 2025-03-31 15:51:17 +0200 | |
| commit | 3949117be01ac8aca7e41a7179506f27627654e5 (patch) | |
| tree | ce5c30ca299a57af69284d58021cc9380cdc553f /internal/processing | |
| parent | [docs] Fix Swagger URL for the "edit status" operation (#3932) (diff) | |
| download | gotosocial-3949117be01ac8aca7e41a7179506f27627654e5.tar.xz | |
[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
Diffstat (limited to 'internal/processing')
| -rw-r--r-- | internal/processing/account/statuses.go | 3 |
1 files changed, 2 insertions, 1 deletions
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) { |
