Allow all events on temp_ feeds, don't check against the filter

This commit is contained in:
Mike Dilger 2024-05-20 08:08:54 +12:00
parent 01c5d719a8
commit 35e6934a6b

View File

@ -31,8 +31,10 @@ impl Minion {
if let Some(sub) = self.subscription_map.get_mut_by_id(&subid.0) {
// Check if the event matches one of our filters
// (except augments which often flow in late after the filter changed)
if handle != "temp_augments" {
//
// exclude temp_ feeds that get rewritten as we are likely to get data
// from the previous version of said filter.
if ! handle.starts_with("temp_") {
let mut it_matches = false;
for filter in sub.get_filters().iter() {
if filter.event_matches(&event) {