mirror of
https://github.com/mikedilger/gossip.git
synced 2024-09-20 03:57:03 +00:00
Allow all events on temp_ feeds, don't check against the filter
This commit is contained in:
parent
01c5d719a8
commit
35e6934a6b
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user