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:
@@ -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,
|
||||
})
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user