Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

Disables chat when we are in recorder mode.

damenchoc09eee098514
diff --git a/react/features/chat/middleware.js b/react/features/chat/middleware.js
index 11b7a46f55..7b96bebaf6 100644
--- a/react/features/chat/middleware.js
+++ b/react/features/chat/middleware.js
@@ -96,9 +96,11 @@ StateListenerRegistry.register(
*/
function _addChatMsgListener(conference, { dispatch, getState }) {
if ((typeof interfaceConfig === 'object' && interfaceConfig.filmStripOnly)
- || (typeof APP !== 'undefined' && !isButtonEnabled('chat'))) {
+ || (typeof APP !== 'undefined' && !isButtonEnabled('chat'))
+ || getState()['features/base/config'].iAmRecorder) {
// We don't register anything on web if we're in filmStripOnly mode, or
// the chat button is not enabled in interfaceConfig.
+ // or we are in iAmRecorder mode
return;
}