From 9addd57db72d03d3f7415836722498b71df84afa Mon Sep 17 00:00:00 2001 From: fiatjaf Date: Wed, 11 Sep 2024 10:16:28 -0300 Subject: [PATCH] missing bit from f57d93. --- relay.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/relay.go b/relay.go index ed06a5f..7d37c2b 100644 --- a/relay.go +++ b/relay.go @@ -237,7 +237,7 @@ func (r *Relay) ConnectWithTLS(ctx context.Context, tlsConfig *tls.Config) error continue } else { // 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) continue }