Skip to content

Commit

Permalink
Merge pull request Expensify#42363 from gijoe0295/gijoe/41140
Browse files Browse the repository at this point in the history
fix: group chat with one member shows in start chat list
  • Loading branch information
roryabraham authored May 29, 2024
2 parents ee1196d + 3a3c9a7 commit 1490cec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/OptionsListUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -744,7 +744,7 @@ function createOption(
result.tooltipText = ReportUtils.getReportParticipantsTitle(visibleParticipantAccountIDs);
result.isOneOnOneChat = isOneOnOneChat;

hasMultipleParticipants = personalDetailList.length > 1 || result.isChatRoom || result.isPolicyExpenseChat;
hasMultipleParticipants = personalDetailList.length > 1 || result.isChatRoom || result.isPolicyExpenseChat || ReportUtils.isGroupChat(report);
subtitle = ReportUtils.getChatRoomSubtitle(report);

const lastActorDetails = personalDetailMap[report.lastActorAccountID ?? 0] ?? null;
Expand Down

0 comments on commit 1490cec

Please sign in to comment.