diff --git a/event.go b/event.go index 9925244..586f0d2 100644 --- a/event.go +++ b/event.go @@ -202,8 +202,8 @@ example: mustRehashAndResign = true } - if content := c.String("content"); content != "" { - evt.Content = content + if c.IsSet("content") { + evt.Content = c.String("content") mustRehashAndResign = true } else if evt.Content == "" && evt.Kind == 1 { evt.Content = "hello from the nostr army knife"