mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-29 23:42:26 -05:00
use pointer for freshness window (#2614)
This commit is contained in:
parent
7a7746701d
commit
e890169e6f
15 changed files with 191 additions and 95 deletions
|
|
@ -43,7 +43,7 @@ func (p *Processor) BoostCreate(
|
|||
ctx,
|
||||
requester,
|
||||
targetID,
|
||||
false, // refresh
|
||||
nil, // default freshness
|
||||
)
|
||||
if errWithCode != nil {
|
||||
return nil, errWithCode
|
||||
|
|
@ -113,7 +113,7 @@ func (p *Processor) BoostRemove(
|
|||
ctx,
|
||||
requester,
|
||||
targetID,
|
||||
false, // refresh
|
||||
nil, // default freshness
|
||||
)
|
||||
if errWithCode != nil {
|
||||
return nil, errWithCode
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue