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.
pull/2601/head jitsi-meet_2853
virtuacoplenny 7 years ago committed by bbaldino
parent 4e4713c3e2
commit e325199075
  1. 2
      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);

Loading…
Cancel
Save