diff --git a/src/libs/ReportUtils.js b/src/libs/ReportUtils.js index 3bd63fc0a073..ce74361ab1ec 100644 --- a/src/libs/ReportUtils.js +++ b/src/libs/ReportUtils.js @@ -3093,6 +3093,7 @@ function getMoneyRequestOptions(report, reportParticipants, betas) { * `public_announce` - Only non-policy members can leave (it's auto-shared with policy members) * `policy_admins` - Nobody can leave (it's auto-shared with all policy admins) * `policy_announce` - Nobody can leave (it's auto-shared with all policy members) + * `policyExpenseChat` - Nobody can leave (it's auto-shared with all policy members) * `policy` - Anyone can leave (though only policy members can join) * `domain` - Nobody can leave (it's auto-shared with domain members) * `dm` - Nobody can leave (it's auto-shared with users) @@ -3109,6 +3110,7 @@ function canLeaveRoom(report, isPolicyMember) { if ( report.chatType === CONST.REPORT.CHAT_TYPE.POLICY_ADMINS || report.chatType === CONST.REPORT.CHAT_TYPE.POLICY_ANNOUNCE || + report.chatType === CONST.REPORT.CHAT_TYPE.POLICY_EXPENSE_CHAT || report.chatType === CONST.REPORT.CHAT_TYPE.DOMAIN_ALL || _.isEmpty(report.chatType) ) {