Fix mexico country code typo

// FREEBIE
This commit is contained in:
Moxie Marlinspike 2016-12-01 09:48:03 -08:00
parent b6d3e76568
commit f2d0f1e51e
1 changed files with 2 additions and 2 deletions

View File

@ -43,8 +43,8 @@ public class SmsSender {
throws IOException
{
// Fix up mexico numbers to 'mobile' format just for SMS delivery.
if (destination.startsWith("+42") && !destination.startsWith("+421")) {
destination = "+421" + destination.substring(3);
if (destination.startsWith("+52") && !destination.startsWith("+521")) {
destination = "+521" + destination.substring(3);
}
try {