Control: recovery folders in a reply are hidden through the place-aware path walk

The recovery-folder check that main added calls collect_sent_paths, which now takes the
params place. A folder is a single string, so it passes ParamsPlace::top(None) as
sent_paths does, and the result is unchanged.
This commit is contained in:
dotCooCoo
2026-11-13 16:19:41 -08:00
parent c1572562de
commit 2e3931baba
+1 -1
View File
@@ -1274,7 +1274,7 @@ fn hide_in_reply(app: &VectorcraftApp, reply: &mut Value, sent: &Value, before:
// The status text of a recovery copy that failed names the recovery folder it went to.
let current = vectorcraft_engine::cmd::recovery::folder(&app.session).map(|(f, _)| f);
for folder in app.recovery.named.iter().chain(current.as_ref()) {
collect_sent_paths(&json!(folder), true, &mut paths);
collect_sent_paths(&json!(folder), ParamsPlace::top(None), true, &mut paths);
}
hiding.set_hidden(paths, cfg!(windows));
hide_library_ids(reply, &hiding);