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.
This commit is contained in:
Hristo Terezov
2024-08-27 15:55:11 -05:00
parent 1429e83a21
commit c62f2f2790

View File

@@ -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.