Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

feat(dynamic-branding): Add customToolbarButtons.

Hristo Terezov69ac73c5569c
diff --git a/react/features/base/config/middleware.ts b/react/features/base/config/middleware.ts
index 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: A
const config: IConfig = {};
const {
customParticipantMenuButtons,
+ customToolbarButtons,
downloadAppsUrl,
etherpadBase,
liveStreamingDialogUrls = {},
@@ -179,6 +180,10 @@ function _setDynamicBrandingData({ dispatch }: IStore, next: Function, action: A
config.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.ts
index 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,