Skip to content

Commit

Permalink
fix: do not check system chat in group
Browse files Browse the repository at this point in the history
  • Loading branch information
nkdengineer committed Aug 6, 2024
1 parent 4b210c6 commit 8a22131
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/ReportUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5805,7 +5805,7 @@ function getChatByParticipants(newParticipantList: number[], reports: OnyxCollec
}

// If we are looking for a group chat, then skip non-group chat report
if (shouldIncludeGroupChats && !isGroupChat(report) && !isSystemChat(report)) {
if (shouldIncludeGroupChats && !isGroupChat(report)) {
return false;
}

Expand Down

0 comments on commit 8a22131

Please sign in to comment.