From d7d6f38cb6d8daca88a46440118e1051803e2b25 Mon Sep 17 00:00:00 2001 From: Moxie Marlinspike Date: Tue, 3 Oct 2017 14:08:41 -0700 Subject: [PATCH] Enable censorship circumvention in Qatar // FREEBIE --- .../securesms/push/SignalServiceNetworkAccess.java | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/org/thoughtcrime/securesms/push/SignalServiceNetworkAccess.java b/src/org/thoughtcrime/securesms/push/SignalServiceNetworkAccess.java index 624ac8fac3..5ea2c17718 100644 --- a/src/org/thoughtcrime/securesms/push/SignalServiceNetworkAccess.java +++ b/src/org/thoughtcrime/securesms/push/SignalServiceNetworkAccess.java @@ -140,6 +140,15 @@ public class SignalServiceNetworkAccess { APPSPOT_CDN_REFLECTOR_HOST, googleTrustStore, GMAIL_CONNECTION_SPEC), baseAndroidCdn, baseGoogleCdn, mapsOneAndroidCdn, mapsTwoAndroidCdn, mailAndroidCdn})); + + put("+974", new SignalServiceConfiguration(new SignalServiceUrl[] {new SignalServiceUrl("https://www.google.com.qa", + APPSPOT_SERVICE_REFLECTOR_HOST, + googleTrustStore, GMAIL_CONNECTION_SPEC), + baseAndroidService, baseGoogleService, mapsOneAndroidService, mapsTwoAndroidService, mailAndroidService}, + new SignalCdnUrl[] {new SignalCdnUrl("https://www.google.com.qa", + APPSPOT_CDN_REFLECTOR_HOST, + googleTrustStore, GMAIL_CONNECTION_SPEC), + baseAndroidCdn, baseGoogleCdn, mapsOneAndroidCdn, mapsTwoAndroidCdn, mailAndroidCdn})); }}; this.uncensoredConfiguration = new SignalServiceConfiguration(new SignalServiceUrl[] {new SignalServiceUrl(BuildConfig.SIGNAL_URL, new SignalServiceTrustStore(context))},