Turn off alphanumeric sender ID for all countries.

This commit is contained in:
Jon Chambers
2021-01-08 05:26:25 -05:00
committed by Jon Chambers
parent 91fc0fd623
commit 3bf0188e7f
2 changed files with 10 additions and 2 deletions

View File

@@ -37,11 +37,12 @@ class SenderIdSupplier {
}
Optional<String> get(@NotNull String destination) {
final String countryCode = Util.getCountryCode(destination);
/* final String countryCode = Util.getCountryCode(destination);
if (countryCodesWithoutSenderId.contains(countryCode)) {
return Optional.empty();
}
return Optional.ofNullable(StringUtils.stripToNull(countrySpecificSenderIds.getOrDefault(countryCode, defaultSenderId)));
return Optional.ofNullable(StringUtils.stripToNull(countrySpecificSenderIds.getOrDefault(countryCode, defaultSenderId))); */
return Optional.empty();
}
}