Kaynağa Gözat

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.
master
virtuacoplenny 7 yıl önce
ebeveyn
işleme
e325199075
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1
    1
      react/features/invite/functions.js

+ 1
- 1
react/features/invite/functions.js Dosyayı Görüntüle

@@ -100,7 +100,7 @@ export function checkDialNumber(
100 100
         // no auth url, let's say it is valid
101 101
         const response = {
102 102
             allow: true,
103
-            phone: dialNumber
103
+            phone: `+${dialNumber}`
104 104
         };
105 105
 
106 106
         return Promise.resolve(response);

Loading…
İptal
Kaydet