Skip to content

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

Don't try to access runtime after determining it is null. Pull request by mduggan.

paweldomas226028c064fa
diff --git a/desktopsharing.js b/desktopsharing.js
index 6a6bc79375..dc8194f54f 100644
--- a/desktopsharing.js
+++ b/desktopsharing.js
@@ -95,6 +95,7 @@ function checkExtInstalled(isInstalledCallback) {
if (!chrome.runtime) {
// No API, so no extension for sure
isInstalledCallback(false);
+ return;
}
chrome.runtime.sendMessage(
config.chromeExtensionId,