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 }