Skip to content

Commit

Permalink
prevent users from sending invoices to themselves
Browse files Browse the repository at this point in the history
  • Loading branch information
JKobrynski committed Jan 10, 2025
1 parent 96037d4 commit 8b79ccc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/iou/request/MoneyRequestParticipantsSelector.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ function MoneyRequestParticipantsSelector({participants = CONST.EMPTY_ARRAY, onF
includeP2P: !isCategorizeOrShareAction,
includeInvoiceRooms: iouType === CONST.IOU.TYPE.INVOICE,
action,
shouldSeparateSelfDMChat: true,
shouldSeparateSelfDMChat: iouType !== CONST.IOU.TYPE.INVOICE,
shouldSeparateWorkspaceChat: true,
includeSelfDM: true,
},
Expand Down

0 comments on commit 8b79ccc

Please sign in to comment.