mirror of
https://github.com/signalapp/Signal-Server.git
synced 2026-12-01 14:06:47 +00:00
Enable "sms" transport for +98
This commit is contained in:
1 parent
31bbbbb5e0
commit
8f41176c76
1 file changed
-4
-4
@@ -222,10 +222,6 @@ public class AccountController {
|
||||
throw new WebApplicationException(Response.status(400).build());
|
||||
}
|
||||
|
||||
if (number.startsWith("+98")) {
|
||||
transport = "voice";
|
||||
}
|
||||
|
||||
String requester = ForwardedIpUtil.getMostRecentProxy(forwardedFor).orElseThrow();
|
||||
|
||||
Optional<StoredVerificationCode> storedChallenge = pendingAccounts.getCodeForNumber(number);
|
||||
|
||||
Reference in new issue
Block a user