Samuel
@samuel.fm
just found how how Bluesky handles checking list membership 🤮
2 10
Michel Bestaat
I had the following thought for lists you create yourself: * Create list items with item-uri = list rkey + item did Then the membership test reduces to a check if the item exists. But that does not work for lists created through other means.
1 2
Samuel
the official app just queries every list membership you've ever made and then finds ones relevent for a given list/person. I think just a new endpoint is needed
2 4
P(aul) Frazee
lol yeah. it's on the TODOs to fix that I believe I signposted correctly in the client code. something along the lines of "dear christ no"
2 1 12
Michel Bestaat
Yes. I am doing the same now. Would be good if there would a new endpoint to check list membership. The backend must already have it. I tried to add the same DID twice. The second request succeeds, but the DID is only once on the list.
2