infrastructure/signal-server-patches/remove-twilio.patch

18 lines
926 B
Diff
Raw Normal View History

2019-10-17 04:28:31 +00:00
diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/sms/SmsSender.java b/service/src/main/java/org/whispersystems/textsecuregcm/sms/SmsSender.java
index 55773a3..c3c705b 100644
--- a/service/src/main/java/org/whispersystems/textsecuregcm/sms/SmsSender.java
+++ b/service/src/main/java/org/whispersystems/textsecuregcm/sms/SmsSender.java
@@ -42,10 +42,10 @@ public class SmsSender {
destination = "+521" + destination.substring(3);
}
2019-10-17 04:28:31 +00:00
- twilioSender.deliverSmsVerification(destination, clientType, verificationCode);
+ // twilioSender.deliverSmsVerification(destination, clientType, verificationCode);
}
2019-10-17 04:28:31 +00:00
public void deliverVoxVerification(String destination, String verificationCode, Optional<String> locale) {
- twilioSender.deliverVoxVerification(destination, verificationCode, locale);
+ // twilioSender.deliverVoxVerification(destination, verificationCode, locale);
}
}