diamsa / nostrbounties

A nostr client for finding and posting Bounties
https://nostrbounties.com
MIT License
22 stars 11 forks source link

Subscribe to the `a` tag not the `e` tag to get the added pledges #5

Closed vitorpamplona closed 1 year ago

vitorpamplona commented 1 year ago

The e tag will change when the author changes the text. Once it does the pledged amounts by other people disappear. You can filter for the a tag instead.

https://github.com/diamsa/nostrbounties/blob/d01b351397af67f148c7ec9c9c3b41a0e6284980/src/pages/bountyFullInfo.tsx#L95

diamsa commented 1 year ago

The issue is fixed, thanks again. I realized I was creating another tag called rootId without need. If you find something else that needs to change, let me know, please.