Use coracle fork of nostrlib so supported nips is a list of strings
This commit is contained in:
+1
-1
@@ -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
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user