Closed rgoj closed 1 year ago
When deduplication is triggered by the server responding with a 409 conflict as a user is being invited, we perform a search for users with the same email... and that search is case-sensitive.
This is what happened here: https://app.intercom.com/a/inbox/q3x5lnhp/inbox/shared/all/conversation/106323200004275 (see message from 8 November 2022)
Instead of the error message, you should see a prompt to add an existing user instead.
Just perform the checks in a case insensitive way! Do the same for searches via names too.
Would be nice to get this done (it should be very small) at some point when I'm in the area, perhaps during #709 ?
Problem
When deduplication is triggered by the server responding with a 409 conflict as a user is being invited, we perform a search for users with the same email... and that search is case-sensitive.
This is what happened here: https://app.intercom.com/a/inbox/q3x5lnhp/inbox/shared/all/conversation/106323200004275 (see message from 8 November 2022)
Instructions for reproducing
Expected behavior
Instead of the error message, you should see a prompt to add an existing user instead.
Fix
Just perform the checks in a case insensitive way! Do the same for searches via names too.