Browse Source

Uses the new name of the chrome extension id field.

master
Boris Grozev 9 years ago
parent
commit
f69e7ace6d
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      modules/desktopsharing/ScreenObtainer.js

+ 2
- 1
modules/desktopsharing/ScreenObtainer.js View File

225
     // Sends 'getStream' msg to the extension.
225
     // Sends 'getStream' msg to the extension.
226
     // Extension id must be defined in the config.
226
     // Extension id must be defined in the config.
227
     chrome.runtime.sendMessage(
227
     chrome.runtime.sendMessage(
228
-        config.chromeExtensionId,
228
+        //TODO: remove chromeExtensionId (deprecated)
229
+        (config.desktopSharingChromeExtId || config.chromeExtensionId),
229
         {
230
         {
230
             getStream: true,
231
             getStream: true,
231
             //TODO: remove desktopSharingSources (deprecated).
232
             //TODO: remove desktopSharingSources (deprecated).

Loading…
Cancel
Save