Ensure that dialog pops up when permissions denied for voice note

pull/272/head
Scott Nonnenberg 6 years ago
parent 589a66c78c
commit 374b9db493

@ -109,7 +109,7 @@
this.close();
if (error && error.name === 'PermissionDeniedError') {
if (error && error.name === 'NotAllowedError') {
window.log.warn(
'RecorderView.onError: Microphone access is not allowed!'
);

Loading…
Cancel
Save