Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
ref(toolbar): remove custom (old) InviteButton dropdown config
Leonard Kim4f157b71f3a5
diff --git a/css/_filmstrip.scss b/css/_filmstrip.scssindex 28ec14fcd7..fc49b03953 100644--- a/css/_filmstrip.scss+++ b/css/_filmstrip.scss@@ -80,37 +80,6 @@&#filmstripLocalVideo {align-self: flex-end;display: block;-- /**- * The invite button style.- */- .filmstrip__invite {- padding-bottom: 5px;- margin-left: 2px;- }-- /**- * The invite button group style.- * TOFIX: use AtlasKit.ButtonGroup if it starts supporting different- * flex grow options for the buttons.- */- .invite-button-group {- display: inline-flex;- justify-content: space-between;- width: 100%;-- & button {- flex-grow: 1;- flex-shrink: 1;- overflow: hidden;- }-- & > * {- flex-grow: 0;- flex-shrink: 0;- margin-left: 2px;- }- }}&.hidden {diff --git a/css/_vertical_filmstrip_overrides.scss b/css/_vertical_filmstrip_overrides.scssindex 8762ffba3a..51cc758f1e 100644--- a/css/_vertical_filmstrip_overrides.scss+++ b/css/_vertical_filmstrip_overrides.scss@@ -75,8 +75,7 @@}/**- * Re-styles the local Video and invite button to better fit the- * vertical filmstrip layout.+ * Re-styles the local Video to better fit vertical filmstrip layout.*/#filmstripLocalVideo {align-self: initial;@@ -85,12 +84,6 @@flex-direction: column-reverse;height: auto;justify-content: flex-start;-- .filmstrip__invite {- padding-bottom: 0px;- padding-top: 5px;- z-index: $dropdownZ;- }}/**diff --git a/interface_config.js b/interface_config.jsindex bfa96ae174..5d52f2317b 100644--- a/interface_config.js+++ b/interface_config.js@@ -50,7 +50,6 @@ var interfaceConfig = {],SETTINGS_SECTIONS: [ 'language', 'devices', 'moderator' ],- INVITE_OPTIONS: [ 'invite', 'dialout', 'addtocall' ],// Determines how the video would fit the screen. 'both' would fit the whole// screen, 'height' would fit the original video height to the height of thediff --git a/react/features/invite/functions.js b/react/features/invite/functions.jsindex 6dbe952038..8be2b821c8 100644--- a/react/features/invite/functions.js+++ b/react/features/invite/functions.js@@ -39,18 +39,6 @@ export function getDialInNumbers(url: string): Promise<*> {return doGetJSON(url);}-/**- * Get the position of the invite option in the interfaceConfig.INVITE_OPTIONS- * list.- *- * @param {string} name - The invite option name.- * @private- * @returns {number} - The position of the option in the list.- */-export function getInviteOptionPosition(name: string): number {- return interfaceConfig.INVITE_OPTIONS.indexOf(name);-}-/*** Sends a post request to an invite service.*@@ -84,18 +72,6 @@ export function invitePeopleAndChatRooms( // eslint-disable-line max-params});}-/**- * Indicates if an invite option is enabled in the configuration.- *- * @param {string} name - The name of the option defined in- * interfaceConfig.INVITE_OPTIONS.- * @returns {boolean} - True to indicate that the given invite option is- * enabled, false - otherwise.- */-export function isInviteOptionEnabled(name: string) {- return getInviteOptionPosition(name) !== -1;-}-/*** Sends an ajax request to a directory service.*