From ffe2db7f964532965985ff2787dbbae83d42f957 Mon Sep 17 00:00:00 2001 From: fiatjaf Date: Wed, 21 Feb 2024 09:47:34 -0300 Subject: [PATCH] event: accept tags with a single item. --- event.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/event.go b/event.go index 319ed38..7e8b288 100644 --- a/event.go +++ b/event.go @@ -182,9 +182,8 @@ example: // tags may also contain extra elements separated with a ";" tagValues := strings.Split(tagValue, ";") tag = append(tag, tagValues...) - // ~ - tags = tags.AppendUnique(tag) } + tags = tags.AppendUnique(tag) } for _, etag := range c.StringSlice("e") {