Skip to content

Commit

Permalink
Merge pull request #55592 from bernhardoj/fix/55239-public-room-doesn…
Browse files Browse the repository at this point in the history
…t-open-as-anon-user

Fix public room doesn't open if deep link as anonymous user
  • Loading branch information
thienlnam authored Jan 23, 2025
2 parents 6e48f5d + 7b22676 commit fc199fa
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/libs/actions/Report.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2934,6 +2934,10 @@ function openReportFromDeepLink(url: string) {
Navigation.navigate(route as Route, CONST.NAVIGATION.ACTION_TYPE.PUSH);
};

if (isAnonymousUser()) {
handleDeeplinkNavigation();
return;
}
// We need skip deeplinking if the user hasn't completed the guided setup flow.
isOnboardingFlowCompleted({
onNotCompleted: startOnboardingFlow,
Expand Down

0 comments on commit fc199fa

Please sign in to comment.