Remove nip 86 method config

This commit is contained in:
Jon Staab
2026-03-03 09:29:08 -08:00
parent d0520bbe3c
commit 4a77e0dab6
3 changed files with 1 additions and 5 deletions
-2
View File
@@ -53,7 +53,6 @@ Configures NIP 29 support.
Configures NIP 86 support.
- `enabled` - whether NIP 86 is enabled.
- `methods` - a list of [NIP 86](https://github.com/nostr-protocol/nips/blob/master/86.md) relay management methods enabled for this relay.
### `[blossom]`
@@ -102,7 +101,6 @@ auto_join = false
[management]
enabled = true
methods = ["supportedmethods", "banpubkey", "allowpubkey"]
[blossom]
enabled = false
-1
View File
@@ -709,7 +709,6 @@ func TestAPIHandler_ConfigValidation(t *testing.T) {
},
"management": map[string]interface{}{
"enabled": true,
"methods": []string{"invite"},
},
"blossom": map[string]interface{}{
"enabled": true,
+1 -2
View File
@@ -41,8 +41,7 @@ type Config struct {
} `toml:"push" json:"push"`
Management struct {
Enabled bool `toml:"enabled" json:"enabled"`
Methods []string `toml:"methods" json:"methods"`
Enabled bool `toml:"enabled" json:"enabled"`
} `toml:"management" json:"management"`
Blossom struct {