@@ -2031,7 +2031,13 @@ function navigateToAndCreateGroupChat(
20312031 *
20322032 * @param participantAccountIDs of user logins to start a chat report with.
20332033 */
2034- function navigateToAndOpenReportWithAccountIDs ( participantAccountIDs : number [ ] , currentUserAccountID : number , introSelected : OnyxEntry < IntroSelected > , betas : OnyxEntry < Beta [ ] > ) {
2034+ function navigateToAndOpenReportWithAccountIDs (
2035+ participantAccountIDs : number [ ] ,
2036+ currentUserAccountID : number ,
2037+ introSelected : OnyxEntry < IntroSelected > ,
2038+ isSelfTourViewed : boolean | undefined ,
2039+ betas : OnyxEntry < Beta [ ] > ,
2040+ ) {
20352041 let newChat : OptimisticChatReport | undefined ;
20362042 const chat = getChatByParticipants ( [ ...participantAccountIDs , currentUserAccountID ] ) ;
20372043 if ( ! chat ) {
@@ -2043,6 +2049,7 @@ function navigateToAndOpenReportWithAccountIDs(participantAccountIDs: number[],
20432049 openReport ( {
20442050 reportID : newChat ?. reportID ,
20452051 introSelected,
2052+ isSelfTourViewed,
20462053 newReportObject : newChat ,
20472054 parentReportActionID : '0' ,
20482055 participantAccountIDList : participantAccountIDs ,
@@ -3937,6 +3944,7 @@ function clearCreateChatError(
39373944 introSelected : OnyxEntry < IntroSelected > ,
39383945 currentUserAccountID : number ,
39393946 betas : OnyxEntry < Beta [ ] > ,
3947+ isSelfTourViewed : boolean | undefined ,
39403948) {
39413949 const metaData = getReportMetadata ( report ?. reportID ) ;
39423950 const isOptimisticReport = metaData ?. isOptimisticReport ;
@@ -3945,8 +3953,7 @@ function clearCreateChatError(
39453953 return ;
39463954 }
39473955
3948- // TODO: We'll pass isSelfTourViewed in the next PR. Refactor issue: https://github.com/Expensify/App/issues/66424
3949- navigateToConciergeChatAndDeleteReport ( report ?. reportID , conciergeReportID , currentUserAccountID , introSelected , undefined , betas , undefined , true ) ;
3956+ navigateToConciergeChatAndDeleteReport ( report ?. reportID , conciergeReportID , currentUserAccountID , introSelected , isSelfTourViewed , betas , undefined , true ) ;
39503957}
39513958
39523959/**
0 commit comments