mirror of
https://github.com/vector-im/element-call.git
synced 2026-08-29 21:15:19 +00:00
Expand comment
Co-authored-by: Timo <16718859+toger5@users.noreply.github.com>
This commit is contained in:
@@ -99,8 +99,8 @@ export const SettingsModal = (props: Props) => {
|
|||||||
|
|
||||||
let selectedKey = devices.selectedId;
|
let selectedKey = devices.selectedId;
|
||||||
// We may present a different device as the currently selected one if we have an active track
|
// We may present a different device as the currently selected one if we have an active track
|
||||||
// from the default device, because the default device may have changed since we acquired the
|
// from the default device, because the default device of the OS may have changed since we acquired the
|
||||||
// track, in which case we want to display the one we're actually using rather than what the
|
// track, but EC did not update the track to match the new default, in which case we want to display the one we're actually using rather than what the
|
||||||
// default is now.
|
// default is now.
|
||||||
if (
|
if (
|
||||||
trackUsedByRoom &&
|
trackUsedByRoom &&
|
||||||
|
|||||||
Reference in New Issue
Block a user