From 1e9b2bcc975ae9206537239ab76172aa8ad70165 Mon Sep 17 00:00:00 2001 From: Francois Laithier Date: Thu, 19 Oct 2023 14:11:48 -0700 Subject: [PATCH] Merge pull request #30026 from Expensify/jasper-fixRoomMembershipProblems (cherry picked from commit 02d66fc322d92ae31e77127a70e82d261efbee13) --- src/libs/actions/Report.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/libs/actions/Report.js b/src/libs/actions/Report.js index 6f8f6840eaea..ffb3238f004b 100644 --- a/src/libs/actions/Report.js +++ b/src/libs/actions/Report.js @@ -1988,6 +1988,12 @@ function leaveRoom(reportID, isWorkspaceMemberLeavingWorkspaceRoom = false) { ], }, ); + + if (isWorkspaceMemberLeavingWorkspaceRoom) { + const participantAccountIDs = PersonalDetailsUtils.getAccountIDsByLogins([CONST.EMAIL.CONCIERGE]); + const chat = ReportUtils.getChatByParticipants(participantAccountIDs); + Navigation.navigate(ROUTES.REPORT_WITH_ID.getRoute(chat.reportID)); + } } /**