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

(cherry picked from commit 02d66fc)
  • Loading branch information
francoisl authored and OSBotify committed Oct 19, 2023
1 parent fc4bfa6 commit 1e9b2bc
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 1e9b2bc

Please sign in to comment.