From a5e4fb000fd540296541b9840b80dabed8abb94a Mon Sep 17 00:00:00 2001 From: Leonard Kim Date: Tue, 10 Apr 2018 14:53:09 -0700 Subject: [PATCH] ref(toolbar): removed unused dialpad logic The old toolbar had a dialpad button that did a no-op. Remove the remnant of that logic. --- conference.js | 7 ------- lang/main.json | 1 - modules/UI/UI.js | 4 ---- 3 files changed, 12 deletions(-) diff --git a/conference.js b/conference.js index 403eba60b..b7786ea23 100644 --- a/conference.js +++ b/conference.js @@ -2060,13 +2060,6 @@ export default { } }); - room.on( - JitsiConferenceEvents.DTMF_SUPPORT_CHANGED, - isDTMFSupported => { - APP.UI.updateDTMFSupport(isDTMFSupported); - } - ); - APP.UI.addListener(UIEvents.AUDIO_MUTED, muted => { this.muteAudio(muted); }); diff --git a/lang/main.json b/lang/main.json index 9db599239..6600e6a67 100644 --- a/lang/main.json +++ b/lang/main.json @@ -95,7 +95,6 @@ "hangup": "Leave", "login": "Login", "logout": "Logout", - "dialpad": "Open / Close dialpad", "sharedVideoMutedPopup": "Your shared video has been muted so that you can talk to the other members.", "micMutedPopup": "Your microphone has been muted so that you would fully enjoy your shared video.", "talkWhileMutedPopup": "Trying to speak? You are muted.", diff --git a/modules/UI/UI.js b/modules/UI/UI.js index 510b16f4a..d796b4e6b 100644 --- a/modules/UI/UI.js +++ b/modules/UI/UI.js @@ -909,10 +909,6 @@ UI.addMessage = function(from, displayName, message, stamp) { Chat.updateChatConversation(from, displayName, message, stamp); }; -// TODO: With Toolbox v2 this got scrapped. Remove? -// eslint-disable-next-line no-empty-function -UI.updateDTMFSupport = () => { }; - UI.updateRecordingState = function(state) { Recording.updateRecordingState(state); };