use pointer for freshness window (#2614)

This commit is contained in:
tobi
2024-02-09 15:24:49 +01:00
committed by GitHub
parent 7a7746701d
commit e890169e6f
15 changed files with 191 additions and 95 deletions

View File

@@ -44,7 +44,7 @@ func (p *Processor) getMuteableStatus(
targetStatus, errWithCode := p.c.GetVisibleTargetStatus(ctx,
requestingAccount,
targetStatusID,
false, // refresh
nil, // default freshness
)
if errWithCode != nil {
return nil, errWithCode