Skip to content

Commit

Permalink
Merge pull request #30026 from Expensify/jasper-fixRoomMembershipProb…
Browse files Browse the repository at this point in the history
…lems
  • Loading branch information
francoisl authored Oct 19, 2023
2 parents 3b3d3d1 + 4a4ce7c commit 02d66fc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/libs/actions/Report.js
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}
}

/**
Expand Down

0 comments on commit 02d66fc

Please sign in to comment.