mirror of
https://github.com/vale981/tdesktop
synced 2025-03-05 09:41:41 -05: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.length() == 2
|
||||
|| phone.length() == 5
|
||||
|| phone.length() == 6
|
||||
|| phone == qsl("4242")));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue