Skip to content

Commit

Permalink
fix(conference) make sure the Chrome extension banner is hidden
Browse files Browse the repository at this point in the history
  • Loading branch information
saghul committed Nov 19, 2024
1 parent e64c8ac commit bebf998
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/features/conference/components/Conference.js
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,10 @@ class Conference extends Component<Props, State> {
}
};

const interfaceConfigOverwrite = {
SHOW_CHROME_EXTENSION_BANNER: false
};

Object.entries(hashParameters).forEach(([ key, value ]) => {
if (key.startsWith('config.')) {
const configKey = key.substring('config.'.length);
Expand All @@ -231,6 +235,7 @@ class Conference extends Component<Props, State> {

const options = {
configOverwrite,
interfaceConfigOverwrite,
parentNode: this._ref.current,
roomName,
sandbox: 'allow-scripts allow-same-origin allow-popups allow-forms allow-downloads'
Expand Down

0 comments on commit bebf998

Please sign in to comment.