mirror of
https://github.com/signalapp/Signal-Server
synced 2026-04-21 06:18:06 +01:00
Turn off alphanumeric sender ID for all countries.
This commit is contained in:
committed by
Jon Chambers
parent
91fc0fd623
commit
3bf0188e7f
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user