diff --git a/go.mod b/go.mod index 286d2d0..2be400d 100644 --- a/go.mod +++ b/go.mod @@ -8,7 +8,7 @@ require ( github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e github.com/fatih/color v1.16.0 github.com/mailru/easyjson v0.7.7 - github.com/nbd-wtf/go-nostr v0.29.0 + github.com/nbd-wtf/go-nostr v0.30.0 github.com/nbd-wtf/nostr-sdk v0.0.5 github.com/urfave/cli/v2 v2.25.7 golang.org/x/exp v0.0.0-20231006140011-7918f672742d diff --git a/req.go b/req.go index aceb9ff..39d0def 100644 --- a/req.go +++ b/req.go @@ -246,6 +246,8 @@ example: } if limit := c.Int("limit"); limit != 0 { filter.Limit = limit + } else if c.IsSet("limit") || c.Bool("stream") { + filter.LimitZero = true } if len(relayUrls) > 0 {