diff --git a/go.mod b/go.mod index ce41373..ef5bb83 100644 --- a/go.mod +++ b/go.mod @@ -7,7 +7,7 @@ require ( github.com/apatters/go-wordwrap v1.0.0 github.com/dgraph-io/badger/v4 v4.2.0 github.com/fiatjaf/eventstore v0.2.13 - github.com/fiatjaf/khatru v0.0.6 + github.com/fiatjaf/khatru v0.1.1 github.com/fogleman/gg v1.3.0 github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0 github.com/gomarkdown/markdown v0.0.0-20231115200524-a660076da3fd diff --git a/go.sum b/go.sum index 0bc74d3..5b52287 100644 --- a/go.sum +++ b/go.sum @@ -70,8 +70,8 @@ github.com/fasthttp/websocket v1.5.3 h1:TPpQuLwJYfd4LJPXvHDYPMFWbLjsT91n3GpWtCQt github.com/fasthttp/websocket v1.5.3/go.mod h1:46gg/UBmTU1kUaTcwQXpUxtRwG2PvIZYeA8oL6vF3Fs= github.com/fiatjaf/eventstore v0.2.13 h1:Pow501WjZVtfVug8PHJAlgw4um3bGe1iQ2GxbFZgaN8= github.com/fiatjaf/eventstore v0.2.13/go.mod h1:CDzb0tH0Buw2TrKQ4Bpvwg3F6ITvLsk+pmp0tACNUlw= -github.com/fiatjaf/khatru v0.0.6 h1:6d5gnKdgsaHD+NZFzsVp22nqxnGxtlLLR8gYVea6KBU= -github.com/fiatjaf/khatru v0.0.6/go.mod h1:gvfXhDel30t84mkWk5aDwBRD1N8py4RixIwGD0i+LMY= +github.com/fiatjaf/khatru v0.1.1 h1:xx1mA7OLxKdK+hPOKEqWSsafKJH/z6Rv+b0ALzRzd/Q= +github.com/fiatjaf/khatru v0.1.1/go.mod h1:reXIM06zBXmFWwM1qp9mW6jCWjxTkEbtObVEPm0jOXE= github.com/fogleman/gg v1.3.0 h1:/7zJX8F6AaYQc57WQCyN9cAIz+4bCJGO9B+dyW29am8= github.com/fogleman/gg v1.3.0/go.mod h1:R/bRT+9gY/C5z7JzPU0zXsXHKM4/ayA+zqcVNZzPa1k= github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo= diff --git a/nostr.go b/nostr.go index 75799e9..b30276f 100644 --- a/nostr.go +++ b/nostr.go @@ -177,6 +177,7 @@ func getEvent(ctx context.Context, code string, relayHints []string) (*nostr.Eve } if result == nil { + log.Debug().Str("code", code).Msg("couldn't find") return nil, nil, fmt.Errorf("couldn't find this %s, did you include relay or author hints in it?", prefix) }