From 9c8331f7f36d20ffd1795e87ffe79ca5966282de Mon Sep 17 00:00:00 2001 From: Greyson Parrelli Date: Fri, 18 Oct 2024 14:33:17 -0400 Subject: [PATCH] Improve network reliability. --- .../securesms/push/SignalServiceNetworkAccess.kt | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/app/src/main/java/org/thoughtcrime/securesms/push/SignalServiceNetworkAccess.kt b/app/src/main/java/org/thoughtcrime/securesms/push/SignalServiceNetworkAccess.kt index c863f75fb3b..5e982fa5cfe 100644 --- a/app/src/main/java/org/thoughtcrime/securesms/push/SignalServiceNetworkAccess.kt +++ b/app/src/main/java/org/thoughtcrime/securesms/push/SignalServiceNetworkAccess.kt @@ -67,7 +67,6 @@ open class SignalServiceNetworkAccess(context: Context) { private const val COUNTRY_CODE_IRAN = 98 private const val COUNTRY_CODE_CUBA = 53 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 @@ -216,8 +215,7 @@ open class SignalServiceNetworkAccess(context: Context) { 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 + COUNTRY_CODE_CUBA to fConfig ) private val defaultCensoredConfiguration: SignalServiceConfiguration = buildGConfiguration(baseGHostConfigs) + fConfig @@ -230,7 +228,6 @@ open class SignalServiceNetworkAccess(context: Context) { COUNTRY_CODE_IRAN, COUNTRY_CODE_CUBA, COUNTRY_CODE_UZBEKISTAN, - COUNTRY_CODE_RUSSIA, COUNTRY_CODE_VENEZUELA, COUNTRY_CODE_PAKISTAN )