missing bit from f57d93.

This commit is contained in:
fiatjaf
2024-09-11 10:16:28 -03:00
parent 072da132f4
commit 9addd57db7

View File

@ -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
}