jonny@neuromatch.social ("jonny (nonvenomous)") wrote:
So how does bluesky get an account's birthday to know if it needs age verification ? There's a system in bsky's code "useQuery" where you can provide a) some cheap way to initialize a value, and b) some query that can keep it updated from the server. Or so its supposed to go.
This is just one of many hilarious fallbacks: there is a clientside birthday cache. For some reason. For slop reasons. The thing containing birthday is "other required data." Sure. There is a function "get other required data from cache" - that's the "fast initial data" method. Then there's the "slow correct data" function, just normal "get required data"
However in the "get required data" there is.... Also an unconditional read from the birthday cache that overwrites whatever came from the server. So.
