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(meetings): include meeting app in search filter (#5237)

Harsh Kumar47725d903172
diff --git a/crates/screenpipe-db/src/db/meetings.rs b/crates/screenpipe-db/src/db/meetings.rs
index 1365d45e3..f310e0dbf 100644
--- a/crates/screenpipe-db/src/db/meetings.rs
+++ b/crates/screenpipe-db/src/db/meetings.rs
@@ -431,7 +431,8 @@ impl DatabaseManager {
sql.push_str(
" AND (LOWER(IFNULL(title, '')) LIKE ? \
OR LOWER(IFNULL(attendees, '')) LIKE ? \
- OR LOWER(IFNULL(note, '')) LIKE ?)",
+ OR LOWER(IFNULL(note, '')) LIKE ? \
+ OR LOWER(IFNULL(meeting_app, '')) LIKE ?)",
);
}
sql.push_str(" ORDER BY meeting_start DESC LIMIT ? OFFSET ?");
@@ -448,7 +449,11 @@ impl DatabaseManager {
}
if let Some(qs) = query {
let pattern = format!("%{}%", qs.to_lowercase());
- q = q.bind(pattern.clone()).bind(pattern.clone()).bind(pattern);
+ q = q
+ .bind(pattern.clone())
+ .bind(pattern.clone())
+ .bind(pattern.clone())
+ .bind(pattern);
}
q = q.bind(limit).bind(offset);
diff --git a/crates/screenpipe-engine/src/routes/meetings.rs b/crates/screenpipe-engine/src/routes/meetings.rs
index 84d7da605..c9135f85e 100644
--- a/crates/screenpipe-engine/src/routes/meetings.rs
+++ b/crates/screenpipe-engine/src/routes/meetings.rs
@@ -142,7 +142,7 @@ pub struct ListMeetingsRequest {
pub limit: u32,
#[serde(default)]
pub offset: u32,
- /// Case-insensitive substring match against title, attendees, and note.
+ /// Case-insensitive substring match against title, attendees, note, and meeting app.
/// Empty / whitespace-only values are ignored.
#[serde(default)]
pub q: Option<String>,