diff --git a/zooid/groups.go b/zooid/groups.go index a9b9350..a11d762 100644 --- a/zooid/groups.go +++ b/zooid/groups.go @@ -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 }