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(app): type the what's-new toast as "app-update" so #3880's pipe gate skips it

Louis Beaumont66636d51aeec
diff --git a/apps/screenpipe-app-tauri/src-tauri/src/updates.rs b/apps/screenpipe-app-tauri/src-tauri/src/updates.rs
index cb723aa6a..01e7e2548 100644
--- a/apps/screenpipe-app-tauri/src-tauri/src/updates.rs
+++ b/apps/screenpipe-app-tauri/src-tauri/src/updates.rs
@@ -938,6 +938,12 @@ fn check_whats_new(app: &tauri::AppHandle) {
match client
.post("http://127.0.0.1:11435/notify")
.json(&serde_json::json!({
+ // Explicit type so this isn't bucketed as a "pipe" notification
+ // (the /notify default) and silently suppressed when a user
+ // turns off Pipe notifications. App updates are a separate class
+ // with their own toggle. See the pipe gate in
+ // notifications/routes.rs (#3880).
+ "type": "app-update",
"title": format!("🎉 screenpipe v{} — what's new", current_version),
"body": body,
}))