Get rid of HasAccess

This commit is contained in:
Jon Staab
2025-10-24 12:39:23 -07:00
parent 45f8796e64
commit 352ab33b43
5 changed files with 132 additions and 42 deletions
+6
View File
@@ -228,3 +228,9 @@ func (g *GroupStore) HasAccess(h string, pubkey nostr.PubKey) bool {
return false
}
// Middleware
func (g *GroupStore) Enable(instance *Instance) {
instance.Relay.Info.SupportedNIPs = append(instance.Relay.Info.SupportedNIPs, 29)
}