Replying to Avatar Stuart Bowman

nostr:npub1ltx67888tz7lqnxlrg06x234vjnq349tcfyp52r0lstclp548mcqnuz40t So I’ve been thinking about this.

To keep things simple, for Satellite, I’m going to go ahead and use kind 4549 as a direct clone of kind 1 as nostr:npub1gcxzte5zlkncx26j68ez60fzkvtkm9e0vrwdcvsjakxf9mu9qewqlfnj5z suggested. So the content string of 4549 will be text just like kind 1.

My initial concern was that having a single kind defined as a “community post” would preclude the reuse of other event kinds, which is why I suggested “wrapping” the events.

I still intend to use kind 4549 as a wrapper to post non-kind-1 events into communities. When a non-kind-1 event is posted, the 4549 event will include a “k” tag indicating the kind of event that was wrapped.

But for 4549 events that do not have a “k” tag (or a “k” tag equal to 1), Satellite will assume that they should be treated like kind 1 and render the content directly.

I like this cause it’s just doing the simple “clone kind 1 thing” but adding the “k” tag allows me to do also do the wrapping thing so I can support other event types on Satellite. If other apps only care about kind 1 that’s fine.

I’m also implementing this weekend and writing up some documentation. Lmk if you wanna collab 🤙

Also Damus was bugging out and caused me to triple post this reply 🤦‍♂️

So sorry if you got spammed with notifications m!

Reply to this note

Please Login to reply.

Discussion

No replies yet.