mirror of
https://github.com/signalapp/Signal-Server.git
synced 2026-12-01 16:06:47 +00:00
Fix mexico country code typo
// FREEBIE
This commit is contained in:
1 parent
b6d3e76568
commit
f2d0f1e51e
1 file changed
+2
-2
@@ -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