Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

fix(engine): pass in_meeting to dedup_applies at the tree-walk metrics call (#4238)

Louis Beaumont5a9f4643e97e
diff --git a/crates/screenpipe-engine/src/event_driven_capture.rs b/crates/screenpipe-engine/src/event_driven_capture.rs
index db25069f1..4f392742d 100644
--- a/crates/screenpipe-engine/src/event_driven_capture.rs
+++ b/crates/screenpipe-engine/src/event_driven_capture.rs
@@ -2043,7 +2043,7 @@ async fn do_capture(
// Mirror the downstream content-dedup gate: a non-empty walk
// whose hash matches the previous frame (and which is dedup
// eligible) won't be stored — count it as deduped.
- let is_dedup = dedup_applies(trigger, hd_active, last_db_write.elapsed())
+ let is_dedup = dedup_applies(trigger, hd_active, in_meeting, last_db_write.elapsed())
&& previous_content_hash
.is_some_and(|prev| prev == snap.content_hash as i64 && prev != 0);
let outcome = if is_dedup {