mirror of
https://github.com/nbd-wtf/go-nostr.git
synced 2025-11-18 18:16:50 +01:00
fix and improve envelope stuff again, deal with messages as strings on all envelope parsing steps.
This commit is contained in:
@@ -20,7 +20,7 @@ func FetchIDsOnly(
|
||||
result := make(chan error)
|
||||
|
||||
var r *nostr.Relay
|
||||
r, err := nostr.RelayConnect(ctx, url, nostr.WithCustomHandler(func(data []byte) {
|
||||
r, err := nostr.RelayConnect(ctx, url, nostr.WithCustomHandler(func(data string) {
|
||||
envelope := ParseNegMessage(data)
|
||||
if envelope == nil {
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user