Skip to content

Commit

Permalink
do not invite users for distance requests
Browse files Browse the repository at this point in the history
  • Loading branch information
luacmartins committed Dec 11, 2023
1 parent daf7cbe commit 9d1f3b8
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,10 @@ function MoneyTemporaryForRefactorRequestParticipantsSelector({
false,
{},
[],
true,

// We don't want the user to be able to invite individuals when they are in the "Distance request" flow for now.
// This functionality is being built here: https://github.com/Expensify/App/issues/23291
iouRequestType !== CONST.IOU.REQUEST_TYPE.DISTANCE,
true,
);
setNewChatOptions({
Expand Down

0 comments on commit 9d1f3b8

Please sign in to comment.