From f69e7ace6d50600fda47e9f8499545a8ef10a6bf Mon Sep 17 00:00:00 2001 From: Boris Grozev Date: Fri, 4 Sep 2015 11:52:16 -0500 Subject: [PATCH] Uses the new name of the chrome extension id field. --- modules/desktopsharing/ScreenObtainer.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/desktopsharing/ScreenObtainer.js b/modules/desktopsharing/ScreenObtainer.js index de5edb69a..9b3e1ae3d 100644 --- a/modules/desktopsharing/ScreenObtainer.js +++ b/modules/desktopsharing/ScreenObtainer.js @@ -225,7 +225,8 @@ function doGetStreamFromExtension(streamCallback, failCallback) { // Sends 'getStream' msg to the extension. // Extension id must be defined in the config. chrome.runtime.sendMessage( - config.chromeExtensionId, + //TODO: remove chromeExtensionId (deprecated) + (config.desktopSharingChromeExtId || config.chromeExtensionId), { getStream: true, //TODO: remove desktopSharingSources (deprecated).