Use coracle fork of nostrlib so supported nips is a list of strings

This commit is contained in:
Jon Staab
2026-02-09 15:54:50 -08:00
parent 8213ca6d34
commit 010880abc8
4 changed files with 24 additions and 9 deletions
+1 -1
View File
@@ -332,5 +332,5 @@ func (g *GroupStore) CheckWrite(event nostr.Event) string {
// Middleware
func (g *GroupStore) Enable(instance *Instance) {
instance.Relay.Info.SupportedNIPs = append(instance.Relay.Info.SupportedNIPs, 29)
instance.Relay.Info.SupportedNIPs = append(instance.Relay.Info.SupportedNIPs, "29")
}
+2 -1
View File
@@ -76,7 +76,8 @@ func MakeInstance(filename string) (*Instance, error) {
instance.Relay.Info.Description = config.Info.Description
instance.Relay.Info.Software = "https://github.com/coracle-social/zooid"
instance.Relay.Info.Version = "v0.1.0"
instance.Relay.Info.SupportedNIPs = append(instance.Relay.Info.SupportedNIPs, 43)
instance.Relay.Info.SupportedNIPs = append(instance.Relay.Info.SupportedNIPs, "43")
instance.Relay.Info.SupportedNIPs = append(instance.Relay.Info.SupportedNIPs, "9a")
// Handlers