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 conf setting for supported_nips array #120

Open
ismyhc opened this issue Sep 13, 2024 · 1 comment
Open

Add conf setting for supported_nips array #120

ismyhc opened this issue Sep 13, 2024 · 1 comment

Comments

@ismyhc
Copy link

ismyhc commented Sep 13, 2024

Id like to limit a bunch of kinds by using the write plugin, however id also like to reflect these policies in the supported_nips array that's returned by the relay info JSON payload.

For example say I don't want to allow kind 3 (nip2)

Id like to be able to remove nip 2 from the supported_nips array. I may also want to add a nip to that array.

Right now I assume I would just from the repo and change the values in code, but having a conf setting would be ideal.

@hoytech
Copy link
Owner

hoytech commented Sep 19, 2024

I just pushed this feature to master branch: 08f0633

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

No branches or pull requests

2 participants