Switch to instance, stub out relay methods

This commit is contained in:
Jon Staab
2025-09-24 10:11:37 -07:00
parent a337da1757
commit 9eedeceb6a
11 changed files with 286 additions and 83 deletions
+2 -3
View File
@@ -1,9 +1,8 @@
package zooid
import (
"fiatjaf.com/nostr/khatru"
)
func EnableGroups(config *Config, relay *khatru.Relay) {
relay.Info.SupportedNIPs = append(relay.Info.SupportedNIPs, 29)
func EnableGroups(instance *Instance) {
instance.Relay.Info.SupportedNIPs = append(instance.Relay.Info.SupportedNIPs, 29)
}