Skip to content

Commit

Permalink
sending optimisticAccountIDList for groupChat
Browse files Browse the repository at this point in the history
  • Loading branch information
rlinoz committed Apr 24, 2024
1 parent f508e2d commit 70e3862
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/actions/Report.ts
Original file line number Diff line number Diff line change
Expand Up @@ -738,7 +738,7 @@ function openReport(
if (ReportUtils.isGroupChat(newReportObject)) {
parameters.chatType = CONST.REPORT.CHAT_TYPE.GROUP;
parameters.groupChatAdminLogins = currentUserEmail;
parameters.optimisticAccountIDList = participantAccountIDList.join(',');
parameters.optimisticAccountIDList = Object.keys(newReportObject.participants ?? []).join(',');
parameters.reportName = newReportObject.reportName ?? '';

// If we have an avatar then include it with the parameters
Expand Down

0 comments on commit 70e3862

Please sign in to comment.