mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-03 03:12:25 -06:00
don't return on status filter errors, these are usually transient
This commit is contained in:
parent
acba53a354
commit
c6df3f610d
6 changed files with 41 additions and 49 deletions
|
|
@ -70,7 +70,7 @@ func (p *Processor) getStatusTimeline(
|
|||
pageQuery url.Values,
|
||||
filterCtx statusfilter.FilterContext,
|
||||
loadPage func(*paging.Page) (statuses []*gtsmodel.Status, err error),
|
||||
filter func(*gtsmodel.Status) (bool, error),
|
||||
filter func(*gtsmodel.Status) (delete bool),
|
||||
) (
|
||||
*apimodel.PageableResponse,
|
||||
gtserror.WithCode,
|
||||
|
|
@ -80,7 +80,6 @@ func (p *Processor) getStatusTimeline(
|
|||
var mutes *usermute.CompiledUserMuteList
|
||||
|
||||
if requester != nil {
|
||||
|
||||
// Fetch all filters relevant for requesting account.
|
||||
filters, err = p.state.DB.GetFiltersForAccountID(ctx,
|
||||
requester.ID,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue