Ensure that dialog pops up when permissions denied for voice note

This commit is contained in:
Scott Nonnenberg 2019-01-25 15:53:20 -08:00
parent 589a66c78c
commit 374b9db493

View file

@ -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!'
);