From e37ea23a8d0fe81326b2f85aea793f5225933da3 Mon Sep 17 00:00:00 2001 From: fiatjaf Date: Mon, 30 Mar 2026 08:55:33 -0300 Subject: [PATCH] groups: stop appending undefined tags to edit-metadata. --- group.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/group.go b/group.go index 96b59d1..2731cb6 100644 --- a/group.go +++ b/group.go @@ -787,13 +787,9 @@ write your forum post evt.Tags = append(evt.Tags, nostr.Tag{"about", group.About}) if group.Restricted { evt.Tags = append(evt.Tags, nostr.Tag{"restricted"}) - } else { - evt.Tags = append(evt.Tags, nostr.Tag{"unrestricted"}) } if group.Closed { evt.Tags = append(evt.Tags, nostr.Tag{"closed"}) - } else { - evt.Tags = append(evt.Tags, nostr.Tag{"open"}) } if group.Hidden { evt.Tags = append(evt.Tags, nostr.Tag{"hidden"}) @@ -802,13 +798,9 @@ write your forum post } if group.Private { evt.Tags = append(evt.Tags, nostr.Tag{"private"}) - } else { - evt.Tags = append(evt.Tags, nostr.Tag{"public"}) } if group.LiveKit { evt.Tags = append(evt.Tags, nostr.Tag{"livekit"}) - } else { - evt.Tags = append(evt.Tags, nostr.Tag{"no-livekit"}) } if group.SupportedKinds != nil { tag := make(nostr.Tag, 1, 1+len(group.SupportedKinds))