Skip to content

Commit

Permalink
Merge pull request #15227 from fedirjh/Fix-14570
Browse files Browse the repository at this point in the history
[Fix] Split bill - Group Split bill creates requests in wrong chats and displays with red dots
  • Loading branch information
robertjchen authored Feb 19, 2023
2 parents 623162d + 58d4d6a commit a5b9c9b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/libs/ReportUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -1393,7 +1393,9 @@ function getChatByParticipants(newParticipantList) {
if (!report || !report.participants) {
return false;
}
return _.isEqual(newParticipantList, report.participants.sort());

// Only return the room if it has all the participants and is not a policy room
return !isUserCreatedPolicyRoom(report) && _.isEqual(newParticipantList, report.participants.sort());
});
}

Expand Down

0 comments on commit a5b9c9b

Please sign in to comment.