[feature] Use blurhashes in frontend, tidy up gallery view a bit

This commit is contained in:
tobi 2025-03-28 22:51:31 +01:00
commit df425ac08a
16 changed files with 421 additions and 123 deletions

View file

@ -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) {