From 629c5ce34ab4c2e119050cbf6a7fe14c6f6ebf15 Mon Sep 17 00:00:00 2001 From: Hristo Terezov Date: Tue, 27 Aug 2024 15:55:11 -0500 Subject: [PATCH] fix(RN/shared-video): sharedVideoAllowedURLDomains prop from branding. On mobile (React-Native) the sharedVideoAllowedURLDomains property from dynamic branding was filtered and therefore the allow list from the branding was not reaching redux and was ignored. --- react/features/dynamic-branding/middleware.native.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/react/features/dynamic-branding/middleware.native.ts b/react/features/dynamic-branding/middleware.native.ts index 941136942de6a..adf80b244f214 100644 --- a/react/features/dynamic-branding/middleware.native.ts +++ b/react/features/dynamic-branding/middleware.native.ts @@ -24,7 +24,8 @@ MiddlewareRegistry.register(store => next => action => { brandedIcons, didPageUrl, inviteDomain, - labels + labels, + sharedVideoAllowedURLDomains } = action.value; action.value = { @@ -34,7 +35,8 @@ MiddlewareRegistry.register(store => next => action => { brandedIcons, didPageUrl, inviteDomain, - labels + labels, + sharedVideoAllowedURLDomains }; // The backend may send an empty string, make sure we skip that.