mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-11-23 04:06:39 +00:00
f4fcffc8b5
* specifically use a much shorter refresh limit for statuses with polls * allow specifying whether status must be upToDate in calls to Get(Visible)?TargetStatusBy_(), limit force refresh to 5 minute cooldown * remove the PollID check from statusUpToDate() * remove unnecessary force flag checks * remove unused field * check refresh status error * use argument name 'refresh' instead of 'upToDate' to better fit with the codebase * add statuses_poll_id_idx * remove the definitely-not copy-pasted comment i accidentally typed out in full * only synchronously refresh if the refresh flag is provided, otherwise do async * fix wrong force value being provided for async --------- Co-authored-by: tobi <tobi.smethurst@protonmail.com> |
||
---|---|---|
.. | ||
account.go | ||
account_test.go | ||
announce.go | ||
collectionpage.go | ||
dereferencer.go | ||
dereferencer_test.go | ||
emoji.go | ||
emoji_test.go | ||
finger.go | ||
handshake.go | ||
instance.go | ||
status.go | ||
status_test.go | ||
thread.go | ||
util.go |