Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
fix: Fixes an exception when the chat button and shortcut are clicked.
Boris Grozeva3cb08160955
diff --git a/modules/UI/UI.js b/modules/UI/UI.jsindex d661ecd5c1..66e9ab4fa2 100644--- a/modules/UI/UI.js+++ b/modules/UI/UI.js@@ -642,11 +642,16 @@ UI.toggleFilmstrip = function() {};/**- * Indicates if the filmstrip is currently visible or not.- * @returns {true} if the filmstrip is currently visible, otherwise+ * Checks if the filmstrip is currently visible or not.+ * @returns {true} if the filmstrip is currently visible, and false otherwise.*/UI.isFilmstripVisible = () => Filmstrip.isFilmstripVisible();+/**+ * @returns {true} if the chat panel is currently visible, and false otherwise.+ */+UI.isChatVisible = () => Chat.isVisible();+/*** Toggles chat panel.*/diff --git a/react/features/toolbox/defaultToolbarButtons.web.js b/react/features/toolbox/defaultToolbarButtons.web.jsindex 534f9790bd..e3b95e0d8b 100644--- a/react/features/toolbox/defaultToolbarButtons.web.js+++ b/react/features/toolbox/defaultToolbarButtons.web.js@@ -104,7 +104,7 @@ export default function getDefaultButtons() {sendAnalytics(createToolbarEvent('toggle.chat',{- enable: !APP.UI.Chat.isVisible()+ enable: !APP.UI.isChatVisible()}));APP.UI.emitEvent(UIEvents.TOGGLE_CHAT);},@@ -117,7 +117,7 @@ export default function getDefaultButtons() {sendAnalytics(createShortcutEvent('toggle.chat',{- enable: !APP.UI.Chat.isVisible()+ enable: !APP.UI.isChatVisible()}));APP.UI.toggleChat();},