Merge pull request #1022 from vector-im/dbkr/fix_mute_on_blur
Fix audio mute on window blur
This commit is contained in:
commit
a9e63ddbcc
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ export function useCallViewKeyboardShortcuts(
|
|||
window,
|
||||
"blur",
|
||||
useCallback(() => {
|
||||
if (spacebarHeld) {
|
||||
if (spacebarHeld.current) {
|
||||
spacebarHeld.current = false;
|
||||
setMicrophoneMuted(true);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue