Skip to content

Commit 5802cda

Browse files
authored
Merge pull request Expensify#34130 from dukenv0307/fix/33921
fix duplicated in LHN when deleted members was invited
2 parents d5f0f6f + 1b27f97 commit 5802cda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libs/ReportUtils.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -3597,7 +3597,7 @@ function getChatByParticipantsAndPolicy(newParticipantList: number[], policyID:
35973597
if (!report?.participantAccountIDs) {
35983598
return false;
35993599
}
3600-
const sortedParticipanctsAccountIDs = report.parentReportActionIDs?.sort();
3600+
const sortedParticipanctsAccountIDs = report.participantAccountIDs?.sort();
36013601
// Only return the room if it has all the participants and is not a policy room
36023602
return report.policyID === policyID && lodashIsEqual(newParticipantList, sortedParticipanctsAccountIDs);
36033603
}) ?? null

0 commit comments

Comments
 (0)