mirror of
https://github.com/signalapp/Signal-Server
synced 2026-05-08 14:58:35 +01:00
Fix mexico country code typo
// FREEBIE
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user