Skip to content

Commit

Permalink
don't optimistically include current user as participant when split w…
Browse files Browse the repository at this point in the history
…ith 1 user
  • Loading branch information
bernhardoj committed May 10, 2024
1 parent 0e8a10d commit 7954145
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/actions/IOU.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3633,7 +3633,7 @@ function getOrCreateOptimisticSplitChatReport(existingSplitChatReportID: string,
}

// Otherwise, create a new 1:1 chat report
const splitChatReport = ReportUtils.buildOptimisticChatReport(allParticipantsAccountIDs);
const splitChatReport = ReportUtils.buildOptimisticChatReport(participantAccountIDs);
return {existingSplitChatReport: null, splitChatReport};
}

Expand Down

0 comments on commit 7954145

Please sign in to comment.