Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add feature detection for unmanaged groups #1604

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

staab
Copy link
Member

@staab staab commented Nov 22, 2024

Feature detection for unmanaged groups has to exist on two levels:

  • On the group level, so that clients can toggle the richer NIP 29 behavior on or off. Feature detection based on NIP 11's supported_nips field isn't sufficient, since a relay implementation might support NIP 29, but the actual relay may not.
  • On the relay level, since clients need to be able to know whether users can post events to groups that don't yet exist, or whether they have to send a create-group event instead.

The default (obviously) has to be that unmanaged groups are allowed, so unmanaged group support is opt-out.

@staab staab requested a review from fiatjaf November 22, 2024 22:09
@staab staab mentioned this pull request Nov 25, 2024
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.

1 participant