fix #14740: serve playback only to the main window

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
hauke
2026-11-10 13:52:26 +01:00
co-authored by Claude Opus 5.5
parent a74cfa5864
commit 8c47388eee
14 changed files with 624 additions and 124 deletions
+5
View File
@@ -176,6 +176,9 @@ pub struct CallDetail {
/// ([`crate::playback::audio_available`]). Set by the app; `false` from
/// [`CallDetail::of`], which does not look at the files.
pub audio_available: bool,
/// Whether retention deleted the call's audio (as opposed to the files
/// being missing for another reason).
pub audio_deleted: bool,
}
impl CallDetail {
@@ -214,6 +217,7 @@ impl CallDetail {
merges: merge_views(merges, &speaker_names),
uploading: false,
audio_available: false,
audio_deleted: call.audio_deleted,
speaker_names,
}
}
@@ -652,6 +656,7 @@ mod tests {
}],
"uploading": false,
"audio_available": false,
"audio_deleted": false,
})
);
}