浏览代码

Uses the new name of the chrome extension id field.

master
Boris Grozev 9 年前
父节点
当前提交
f69e7ace6d
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2
    1
      modules/desktopsharing/ScreenObtainer.js

+ 2
- 1
modules/desktopsharing/ScreenObtainer.js 查看文件

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).

正在加载...
取消
保存