From 83dec1df3c31753c1406ff800e2834378c4a05b0 Mon Sep 17 00:00:00 2001 From: thelullabyy Date: Fri, 17 Oct 2025 15:40:20 +0700 Subject: [PATCH] fix: your free trial has started post in both concierge and admin --- src/libs/ReportUtils.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/libs/ReportUtils.ts b/src/libs/ReportUtils.ts index 945eabfef5d2..6bab020b2044 100644 --- a/src/libs/ReportUtils.ts +++ b/src/libs/ReportUtils.ts @@ -11325,10 +11325,11 @@ function isChatUsedForOnboarding(optionOrReport: OnyxEntry | OptionData, * Onboarding guides are assigned to signup with emails that do not contain a '+' and select the "Manage my team's expenses" intent. */ function isPostingTasksInAdminsRoom(engagementChoice?: OnboardingPurpose): boolean { + const userHasPhonePrimaryEmail = Str.endsWith(currentUserEmail ?? '', CONST.SMS.DOMAIN); return ( engagementChoice !== undefined && [CONST.ONBOARDING_CHOICES.MANAGE_TEAM, CONST.ONBOARDING_CHOICES.TRACK_WORKSPACE].includes(engagementChoice as 'newDotManageTeam' | 'newDotTrackWorkspace') && - !currentUserEmail?.includes('+') + (!currentUserEmail?.includes('+') || userHasPhonePrimaryEmail) ); }