bluesky-social / feed-generator

ATProto Feed Generator Starter Kit
MIT License
919 stars 329 forks source link

Trying to detect when a repost has been un-reposted #62

Open ryandhasgit opened 1 year ago

ryandhasgit commented 1 year ago

I'm trying to determine if a certain repost has been un-reposted. For example, person A reposts person B; person A eventually decides to undo that action. When this happens in the app, I see the atproto.repo.deleteRecord API is called with a reference to user A's DID so I figured this counted as a "delete" action. Inside the record object I assumed the the opsByType.reposts.deletes (here) would have all the reposted items that have since been deleted (un-reposted) but I'm getting nothing when I console.log there.