mirror of
https://github.com/signalapp/Signal-Server.git
synced 2026-12-01 14:46:47 +00:00
Turn off alphanumeric sender ID for all countries.
This commit is contained in:
1 parent
91fc0fd623
commit
3bf0188e7f
2 files changed
+10
-2
No files matched your search
@@ -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