mirror of
https://github.com/nbd-wtf/go-nostr.git
synced 2025-09-13 11:52:34 +02:00
missing bit from f57d93.
This commit is contained in:
2
relay.go
2
relay.go
@@ -237,7 +237,7 @@ func (r *Relay) ConnectWithTLS(ctx context.Context, tlsConfig *tls.Config) error
|
|||||||
continue
|
continue
|
||||||
} else {
|
} else {
|
||||||
// check if the event matches the desired filter, ignore otherwise
|
// check if the event matches the desired filter, ignore otherwise
|
||||||
if !subscription.Filters.Match(&env.Event) {
|
if !subscription.match(&env.Event) {
|
||||||
InfoLogger.Printf("{%s} filter does not match: %v ~ %v\n", r.URL, subscription.Filters, env.Event)
|
InfoLogger.Printf("{%s} filter does not match: %v ~ %v\n", r.URL, subscription.Filters, env.Event)
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user