If groups are disabled, treat h tagged events as regular events
Docker / build-and-push-image (push) Successful in 2m58s

This commit is contained in:
Jon Staab
2026-06-15 09:29:12 -07:00
parent 213ce1694d
commit a4cc9f53a8
+4
View File
@@ -227,6 +227,10 @@ func (g *GroupStore) HasAccess(h string, pubkey nostr.PubKey) bool {
}
func (g *GroupStore) IsGroupEvent(event nostr.Event) bool {
if !g.Config.Groups.Enabled {
return false
}
if slices.Contains(nip29.MetadataEventKinds, event.Kind) {
return true
}