Skip to content

Commit 1490cec

Browse files
authored
Merge pull request #42363 from gijoe0295/gijoe/41140
fix: group chat with one member shows in start chat list
2 parents ee1196d + 3a3c9a7 commit 1490cec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libs/OptionsListUtils.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -744,7 +744,7 @@ function createOption(
744744
result.tooltipText = ReportUtils.getReportParticipantsTitle(visibleParticipantAccountIDs);
745745
result.isOneOnOneChat = isOneOnOneChat;
746746

747-
hasMultipleParticipants = personalDetailList.length > 1 || result.isChatRoom || result.isPolicyExpenseChat;
747+
hasMultipleParticipants = personalDetailList.length > 1 || result.isChatRoom || result.isPolicyExpenseChat || ReportUtils.isGroupChat(report);
748748
subtitle = ReportUtils.getChatRoomSubtitle(report);
749749

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

0 commit comments

Comments
 (0)