mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-21 09:20:19 +01:00
Improve network reliability.
This commit is contained in:
@@ -69,6 +69,7 @@ open class SignalServiceNetworkAccess(context: Context) {
|
||||
private const val COUNTRY_CODE_UZBEKISTAN = 998
|
||||
private const val COUNTRY_CODE_RUSSIA = 7
|
||||
private const val COUNTRY_CODE_VENEZUELA = 58
|
||||
private const val COUNTRY_CODE_PAKISTAN = 92
|
||||
|
||||
private const val G_HOST = "reflector-nrgwuv7kwq-uc.a.run.app"
|
||||
private const val F_SERVICE_HOST = "chat-signal.global.ssl.fastly.net"
|
||||
@@ -211,6 +212,9 @@ open class SignalServiceNetworkAccess(context: Context) {
|
||||
COUNTRY_CODE_VENEZUELA to buildGConfiguration(
|
||||
listOf(HostConfig("https://www.google.co.ve", G_HOST, GMAIL_CONNECTION_SPEC)) + baseGHostConfigs
|
||||
),
|
||||
COUNTRY_CODE_PAKISTAN to buildGConfiguration(
|
||||
listOf(HostConfig("https://www.google.com.pk", G_HOST, GMAIL_CONNECTION_SPEC)) + baseGHostConfigs
|
||||
),
|
||||
COUNTRY_CODE_IRAN to fConfig,
|
||||
COUNTRY_CODE_CUBA to fConfig,
|
||||
COUNTRY_CODE_RUSSIA to fConfig
|
||||
@@ -227,7 +231,8 @@ open class SignalServiceNetworkAccess(context: Context) {
|
||||
COUNTRY_CODE_CUBA,
|
||||
COUNTRY_CODE_UZBEKISTAN,
|
||||
COUNTRY_CODE_RUSSIA,
|
||||
COUNTRY_CODE_VENEZUELA
|
||||
COUNTRY_CODE_VENEZUELA,
|
||||
COUNTRY_CODE_PAKISTAN
|
||||
)
|
||||
|
||||
open val uncensoredConfiguration: SignalServiceConfiguration = SignalServiceConfiguration(
|
||||
|
||||
Reference in New Issue
Block a user