Skip to content

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

[RN] Prevent a possible TypeError

paweldomas70fc727b92bc
diff --git a/react/features/overlay/components/OverlayFrame.js b/react/features/overlay/components/OverlayFrame.js
index fcb48fabb6..465a7a3005 100644
--- a/react/features/overlay/components/OverlayFrame.js
+++ b/react/features/overlay/components/OverlayFrame.js
@@ -42,7 +42,9 @@ export default class OverlayFrame extends Component {
*
* @type {boolean}
*/
- filmstripOnly: interfaceConfig.filmStripOnly
+ filmstripOnly:
+ typeof interfaceConfig !== 'undefined'
+ && interfaceConfig.filmStripOnly
};
}