diff --git a/src/main/java/org/whispersystems/textsecuregcm/sms/SmsSender.java b/src/main/java/org/whispersystems/textsecuregcm/sms/SmsSender.java index adf955df5..bbf7386d3 100644 --- a/src/main/java/org/whispersystems/textsecuregcm/sms/SmsSender.java +++ b/src/main/java/org/whispersystems/textsecuregcm/sms/SmsSender.java @@ -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 {