okay so i believe that this is not trivial because it should not be a good idea to fetch literally all of your following just to do a set inclusion check. but i also do not know of a better solution
an appview-less Bluesky client using Constellation and PDS Queries
reddwarf.app
frontend
spa
bluesky
reddwarf
microcosm
follow&like state tracking #5
open
opened by
We probably should still fetch like the latest 100 likes from listRecords (long poll) since it is the most efficient way of tracking recent likes (compared to checking self like via constellation fot every post)
did it here https://tangled.org/@whey.party/red-dwarf/commit/404a76496717ad7825eecf8c90ff877abe7ee809 barely did anything for an old account like mine. see https://bsky.app/profile/whey.party/post/3m33dfqdm4c2d
nvm! we can do this really easily with constellation's new &did= filtering query param just set the filter with the user's did and you should get the uri(s) of their like/follow