mirror of
https://github.com/suitenumerique/meet.git
synced 2026-08-12 19:56:53 +00:00
⏪️(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:
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={
|
||||
|
||||
Reference in New Issue
Block a user