From bb290cd29d65ae936b4ef64eee970e6802caa988 Mon Sep 17 00:00:00 2001 From: Bheem Date: Fri, 19 Jun 2020 12:40:34 +0530 Subject: [PATCH 1/2] handle mic permission model in chat voice message --- src/assets/languages/en.json | 3 ++- src/containers/ChatBottomPanel/ChatBottomPanel.js | 8 ++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/assets/languages/en.json b/src/assets/languages/en.json index 88fa53ed7..2e38a5806 100644 --- a/src/assets/languages/en.json +++ b/src/assets/languages/en.json @@ -1164,7 +1164,8 @@ "messageText": "Message text", "messageTo": "Message to:", "micAllowModal": { - "body": "To send voice messages choose \"allow microphone access\" in your browser alert window." + "body": "To send voice messages choose \"allow microphone access\" in your browser alert window.", + "bodyElectron": "To send voice messages, NYNJA need permission to use your microphone.\n Go to start, then select the Setting gear > Privacy > Microphone" }, "microsoftCalendar": "Microsoft 365 outlook calendar", "min": "min", diff --git a/src/containers/ChatBottomPanel/ChatBottomPanel.js b/src/containers/ChatBottomPanel/ChatBottomPanel.js index fd4b45f31..700ad65f0 100644 --- a/src/containers/ChatBottomPanel/ChatBottomPanel.js +++ b/src/containers/ChatBottomPanel/ChatBottomPanel.js @@ -1115,14 +1115,14 @@ class ChatBottomPanel extends Component {