erskingardner / listr

Listr is the best way to create, manage, and browse Nostr lists.
https://listr.lol
41 stars 5 forks source link

Long-Form Kind 30023 Bookmarks #93

Closed jamesmagoo closed 7 months ago

jamesmagoo commented 7 months ago

This is a question which may be an issue...

When I add a kind:30023 event to my Bookmarks list it is added in the tags as expected as per NIP-51 (below)

["a", "30023:7f4f672af0cb2e9263f525d68f3043c05c1e7a1ade5aaf4b89afc400c184579e:fafed239"]

This "a" tag value is structured as event-kind:author-pubkey:event d-tag .

I was expecting the event ID in this case and not the authors pubkey, just because for kind 1 bookmarks, it is the event ID that is provided.

Is this correct and if so what NIP specifies this?

erskingardner commented 7 months ago

In this case, because it's a parameterized replaceable event, it's supposed to be the author pubkey. This is defined in NIP-01

jamesmagoo commented 7 months ago

Thanks!