From e325199075054ffd033f61374abeb87521750830 Mon Sep 17 00:00:00 2001 From: virtuacoplenny Date: Mon, 12 Mar 2018 13:25:42 -0700 Subject: [PATCH] fix(invite): prefix a + when faking the validation response (#2597) Pre-existing logic made it so numbers were assumed as valid if no validation url was specified. To be consistent with the validation server, the faked number should include a + at the beginning. --- react/features/invite/functions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/react/features/invite/functions.js b/react/features/invite/functions.js index 4c4fac1434..89d58a559a 100644 --- a/react/features/invite/functions.js +++ b/react/features/invite/functions.js @@ -100,7 +100,7 @@ export function checkDialNumber( // no auth url, let's say it is valid const response = { allow: true, - phone: dialNumber + phone: `+${dialNumber}` }; return Promise.resolve(response);