️(frontend) revert old permission-toggle hotfix

Revert the old hotfix that allowed users to toggle their microphone
or camera while permissions were not granted, which then triggered
a `getUserMedia` call to prompt for them.

Now that the permission store is properly kept in sync with the
browser, this workaround is no longer needed as-is. The intended
behavior will be reimplemented cleanly in a later commit.
This commit is contained in:
lebaudantoine
2026-08-07 20:15:53 +02:00
committed by aleb_the_flash
parent c8a3ef6f61
commit aaa51a4457
@@ -150,8 +150,9 @@ export const ToggleDevice = <T extends ToggleSource>({
onPress={() => {
if (cannotUseDevice) {
openPermissionsDialog(kind)
} else {
toggle()
}
toggle()
}}
aria-label={toggleLabel}
tooltip={