Skip to content
Snippets Groups Projects
Commit 208b3e97 authored by Gabriel Engel's avatar Gabriel Engel Committed by GitHub
Browse files

Merge pull request #3638 from RocketChat/jitsi-screenshare-extension

Added Chrome Extension setting for jitsi integration
parents 14b3ff71 39d6259e
No related branches found
No related tags found
No related merge requests found
...@@ -531,6 +531,8 @@ ...@@ -531,6 +531,8 @@
"is_typing_male" : "is typing", "is_typing_male" : "is typing",
"italics" : "italics", "italics" : "italics",
"It_works" : "It works", "It_works" : "It works",
"Jitsi_Enable_Channels": "Enable in Channels",
"Jitsi_Chrome_Extension": "Chrome Extension Id",
"join" : "Join", "join" : "Join",
"Join_audio_call" : "Join audio call", "Join_audio_call" : "Join audio call",
"Join_default_channels" : "Join default channels", "Join_default_channels" : "Join default channels",
......
...@@ -13,7 +13,9 @@ Template.videoFlexTab.onCreated(function() { ...@@ -13,7 +13,9 @@ Template.videoFlexTab.onCreated(function() {
let width = 500; let width = 500;
let height = 500; let height = 500;
let configOverwrite = {}; let configOverwrite = {
desktopSharingChromeExtId: RocketChat.settings.get('Jitsi_Chrome_Extension')
};
let interfaceConfigOverwrite = {}; let interfaceConfigOverwrite = {};
let jitsiRoomActive = null; let jitsiRoomActive = null;
......
...@@ -36,5 +36,15 @@ Meteor.startup(function() { ...@@ -36,5 +36,15 @@ Meteor.startup(function() {
i18nLabel: 'Jitsi_Enable_Channels', i18nLabel: 'Jitsi_Enable_Channels',
public: true public: true
}); });
this.add('Jitsi_Chrome_Extension', 'nocfbnnmjnndkbipkabodnheejiegccf', {
type: 'string',
enableQuery: {
_id: 'Jitsi_Enabled',
value: true
},
i18nLabel: 'Jitsi_Chrome_Extension',
public: true
});
}); });
}); });
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment