Skip to content

Commit

Permalink
fix: Add flag that relay processed an event
Browse files Browse the repository at this point in the history
  • Loading branch information
untitaker committed Oct 28, 2019
1 parent be02c0e commit 9f6b422
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions server/src/actors/events.rs
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,10 @@ impl EventProcessor {
// If the event should be filtered, no more processing is needed
return Ok(ProcessEventResponse::Filtered { reason });
}

event
.other
.insert("_relay_processed", Annotated::new(Value::Bool(false)));
}
}
}
Expand Down

0 comments on commit 9f6b422

Please sign in to comment.