mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-26 19:14:02 +02:00
Allow 6-digit support phone numbers.
This commit is contained in:
parent
f1518af8b3
commit
58d4b763b6
1 changed files with 1 additions and 0 deletions
|
@ -52,6 +52,7 @@ bool IsValidPhone(QString phone) {
|
||||||
|| (phone.startsWith(qsl("42"))
|
|| (phone.startsWith(qsl("42"))
|
||||||
&& (phone.length() == 2
|
&& (phone.length() == 2
|
||||||
|| phone.length() == 5
|
|| phone.length() == 5
|
||||||
|
|| phone.length() == 6
|
||||||
|| phone == qsl("4242")));
|
|| phone == qsl("4242")));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue