Skip to content

Break out chat and threads from nip 29#1591

Merged
fiatjaf merged 9 commits into
nostr-protocol:masterfrom
coracle-social:relay-chat-2
Nov 21, 2024
Merged

Break out chat and threads from nip 29#1591
fiatjaf merged 9 commits into
nostr-protocol:masterfrom
coracle-social:relay-chat-2

Conversation

@staab

@staab staab commented Nov 20, 2024

Copy link
Copy Markdown
Member

This is a variant of #1589 which attempts to reconcile NIP 29 and flotilla's rooms over chat and thread kinds. This requires no changes of NIP 29 clients, only flotilla will need to be modified.

I originally chose new event kinds in order to avoid stepping on anyone's toes, but it would be good if we can reconcile the two. One thing that is important to me for the semantics of chat/threads is that arbitrary reply hierarchies need not be supported. If NIP 29 folks are ok with the "shallow reply hierarchies" stipulation, then we can go ahead with this.

@staab
staab marked this pull request as draft November 20, 2024 05:21
@staab
staab force-pushed the relay-chat-2 branch 3 times, most recently from 4bf12cb to 336f5eb Compare November 20, 2024 12:20
@staab

staab commented Nov 20, 2024

Copy link
Copy Markdown
Member Author

Just updated this to only move kind 9 and 11 out of NIP 29.

@staab staab changed the title Relay chat 2 Break out chat and threads from nip 29 Nov 20, 2024
@staab
staab marked this pull request as ready for review November 20, 2024 18:01
Comment thread 7D.md Outdated
Comment thread 7D.md Outdated
@staab
staab requested a review from fiatjaf November 20, 2024 19:06
@fiatjaf

fiatjaf commented Nov 20, 2024

Copy link
Copy Markdown
Member

Please remember to squash instead of merging.

@vitorpamplona

Copy link
Copy Markdown
Collaborator

Are NIPs hex now? holy fuck

@fiatjaf
fiatjaf merged commit 1e47fd7 into nostr-protocol:master Nov 21, 2024
@laanwj

laanwj commented Nov 29, 2024

Copy link
Copy Markdown
Contributor

Are NIPs hex now? holy fuck

Hex, or base36, or who knows?

FWIW, adding letters breaks the auto-link regexp for NIP-XX for at least nostrudel, not a big deal but it'd be kind of useful to know what to expect, so we can be prepared when say NIP-🐙🦑 is added.

RandyMcMillan pushed a commit to gnostr-org/gnostr-nips that referenced this pull request Apr 5, 2025
pats2sats pushed a commit to sudonym-btc/order-nip that referenced this pull request May 20, 2026
francismars pushed a commit to francismars/nips that referenced this pull request May 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants