diff --git a/fetch.go b/fetch.go index d06723d..dbb0938 100644 --- a/fetch.go +++ b/fetch.go @@ -91,10 +91,10 @@ var fetch = &cli.Command{ for _, url := range relays { relays = append(relays, url) } + } - if len(filter.Kinds) == 0 { - filter.Kinds = append(filter.Kinds, 0) - } + if len(filter.Authors) > 0 && len(filter.Kinds) == 0 { + filter.Kinds = append(filter.Kinds, 0) } if err := applyFlagsToFilter(c, &filter); err != nil {