mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-29 11:12:24 -05:00
[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
This commit is contained in:
parent
85fb63f46f
commit
3949117be0
17 changed files with 508 additions and 124 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue