Skip to content

Commit

Permalink
fix(RN/shared-video): sharedVideoAllowedURLDomains prop from branding.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
hristoterezov committed Aug 27, 2024
1 parent 1429e83 commit 629c5ce
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions react/features/dynamic-branding/middleware.native.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ MiddlewareRegistry.register(store => next => action => {
brandedIcons,
didPageUrl,
inviteDomain,
labels
labels,
sharedVideoAllowedURLDomains
} = action.value;

action.value = {
Expand All @@ -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.
Expand Down

0 comments on commit 629c5ce

Please sign in to comment.