Ensure that dialog pops up when permissions denied for voice note
This commit is contained in:
parent
589a66c78c
commit
374b9db493
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@
|
||||||
|
|
||||||
this.close();
|
this.close();
|
||||||
|
|
||||||
if (error && error.name === 'PermissionDeniedError') {
|
if (error && error.name === 'NotAllowedError') {
|
||||||
window.log.warn(
|
window.log.warn(
|
||||||
'RecorderView.onError: Microphone access is not allowed!'
|
'RecorderView.onError: Microphone access is not allowed!'
|
||||||
);
|
);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue