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
feat(dynamic-branding): Add customToolbarButtons.
Hristo Terezov69ac73c5569c
diff --git a/react/features/base/config/middleware.ts b/react/features/base/config/middleware.tsindex d2b0fa0c92..56b0637bdf 100644--- a/react/features/base/config/middleware.ts+++ b/react/features/base/config/middleware.ts@@ -115,6 +115,7 @@ function _setDynamicBrandingData({ dispatch }: IStore, next: Function, action: Aconst config: IConfig = {};const {customParticipantMenuButtons,+ customToolbarButtons,downloadAppsUrl,etherpadBase,liveStreamingDialogUrls = {},@@ -179,6 +180,10 @@ function _setDynamicBrandingData({ dispatch }: IStore, next: Function, action: Aconfig.prejoinConfig.preCallTestICEUrl = iceUrl;}+ if (customToolbarButtons) {+ config.customToolbarButtons = customToolbarButtons;+ }+if (customParticipantMenuButtons) {config.customParticipantMenuButtons = customParticipantMenuButtons;}diff --git a/react/features/dynamic-branding/middleware.native.ts b/react/features/dynamic-branding/middleware.native.tsindex 6ae8f47aee..4c79ae5251 100644--- a/react/features/dynamic-branding/middleware.native.ts+++ b/react/features/dynamic-branding/middleware.native.ts@@ -23,6 +23,7 @@ MiddlewareRegistry.register(store => next => action => {backgroundImageUrl,brandedIcons,customParticipantMenuButtons,+ customToolbarButtons,didPageUrl,downloadAppsUrl,etherpadBase,@@ -42,6 +43,7 @@ MiddlewareRegistry.register(store => next => action => {backgroundImageUrl,brandedIcons,customParticipantMenuButtons,+ customToolbarButtons,didPageUrl,downloadAppsUrl,etherpadBase,