We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e0c163 commit 638f62fCopy full SHA for 638f62f
pkg/code/antispam/phone.go
@@ -6,7 +6,7 @@ import "strings"
6
// todo: Needs tests
7
func hasBannedPhoneNumberPrefix(phoneNumber string) bool {
8
// Check that a +7 phone number is not a mobile number from Kazakhstan
9
- if strings.HasPrefix(phoneNumber, "+770") || strings.HasPrefix(phoneNumber, "+777") {
+ if strings.HasPrefix(phoneNumber, "+76") || strings.HasPrefix(phoneNumber, "+77") {
10
return false
11
}
12
0 commit comments