diff --git a/pkg/code/antispam/phone.go b/pkg/code/antispam/phone.go index f528283c..d7399e54 100644 --- a/pkg/code/antispam/phone.go +++ b/pkg/code/antispam/phone.go @@ -6,7 +6,7 @@ import "strings" // todo: Needs tests func hasBannedPhoneNumberPrefix(phoneNumber string) bool { // Check that a +7 phone number is not a mobile number from Kazakhstan - if strings.HasPrefix(phoneNumber, "+770") || strings.HasPrefix(phoneNumber, "+777") { + if strings.HasPrefix(phoneNumber, "+76") || strings.HasPrefix(phoneNumber, "+77") { return false }