From d58bc697b2cabb3c1c892d46ba09b9732af5d3c8 Mon Sep 17 00:00:00 2001 From: Niels Andriesse Date: Wed, 27 May 2020 11:52:38 +1000 Subject: [PATCH] Switch seed nodes --- Signal/Signal-Info.plist | 48 ------------------- .../src/Loki/API/LokiAPI+SwarmAPI.swift | 6 +-- .../src/Loki/API/LokiFileServerAPI.swift | 4 -- SignalShareExtension/Info.plist | 48 ------------------- 4 files changed, 1 insertion(+), 105 deletions(-) diff --git a/Signal/Signal-Info.plist b/Signal/Signal-Info.plist index ff61255c8..c0a6696e3 100644 --- a/Signal/Signal-Info.plist +++ b/Signal/Signal-Info.plist @@ -58,54 +58,6 @@ public.app-category.social-networking LSRequiresIPhoneOS - NSAppTransportSecurity - - NSExceptionDomains - - 144.76.164.202 - - NSExceptionAllowsInsecureHTTPLoads - - NSIncludesSubdomains - - - contentproxy.signal.org - - NSExceptionAllowsInsecureHTTPLoads - - NSIncludesSubdomains - - - file-dev.lokinet.org - - NSExceptionAllowsInsecureHTTPLoads - - NSIncludesSubdomains - - - public.loki.foundation - - NSExceptionAllowsInsecureHTTPLoads - - NSIncludesSubdomains - - - storage.seed1.loki.network - - NSExceptionAllowsInsecureHTTPLoads - - NSIncludesSubdomains - - - storage.seed2.loki.network - - NSExceptionAllowsInsecureHTTPLoads - - NSIncludesSubdomains - - - - NSAppleMusicUsageDescription Signal needs to use Apple Music to play media attachments. NSCameraUsageDescription diff --git a/SignalServiceKit/src/Loki/API/LokiAPI+SwarmAPI.swift b/SignalServiceKit/src/Loki/API/LokiAPI+SwarmAPI.swift index 8458f9752..0fe2d0b1b 100644 --- a/SignalServiceKit/src/Loki/API/LokiAPI+SwarmAPI.swift +++ b/SignalServiceKit/src/Loki/API/LokiAPI+SwarmAPI.swift @@ -24,11 +24,7 @@ public extension LokiAPI { } // MARK: Clearnet Setup - #if TESTNET - fileprivate static let seedNodePool: Set = [ "http://public.loki.foundation:38157" ] - #else - fileprivate static let seedNodePool: Set = [ "http://storage.seed1.loki.network:22023", "http://storage.seed2.loki.network:22023", "http://144.76.164.202:22023" ] - #endif + fileprivate static let seedNodePool: Set = [ "https://storage.seed1.loki.network", "https://storage.seed3.loki.network", "https://public.loki.foundation" ] internal static var randomSnodePool: Set = [] diff --git a/SignalServiceKit/src/Loki/API/LokiFileServerAPI.swift b/SignalServiceKit/src/Loki/API/LokiFileServerAPI.swift index dea78f83e..926d2799d 100644 --- a/SignalServiceKit/src/Loki/API/LokiFileServerAPI.swift +++ b/SignalServiceKit/src/Loki/API/LokiFileServerAPI.swift @@ -4,11 +4,7 @@ import PromiseKit public final class LokiFileServerAPI : LokiDotNetAPI { // MARK: Settings - #if DEBUG - @objc public static let server = "http://file-dev.lokinet.org" - #else @objc public static let server = "https://file.getsession.org" - #endif public static let maxFileSize = 10_000_000 // 10 MB private static let deviceLinkType = "network.loki.messenger.devicemapping" private static let attachmentType = "net.app.core.oembed" diff --git a/SignalShareExtension/Info.plist b/SignalShareExtension/Info.plist index d07bcb9db..de9b79680 100644 --- a/SignalShareExtension/Info.plist +++ b/SignalShareExtension/Info.plist @@ -22,54 +22,6 @@ $(CURRENT_PROJECT_VERSION) ITSAppUsesNonExemptEncryption - NSAppTransportSecurity - - NSExceptionDomains - - 144.76.164.202 - - NSExceptionAllowsInsecureHTTPLoads - - NSIncludesSubdomains - - - contentproxy.signal.org - - NSExceptionAllowsInsecureHTTPLoads - - NSIncludesSubdomains - - - file-dev.lokinet.org - - NSExceptionAllowsInsecureHTTPLoads - - NSIncludesSubdomains - - - public.loki.foundation - - NSExceptionAllowsInsecureHTTPLoads - - NSIncludesSubdomains - - - storage.seed1.loki.network - - NSExceptionAllowsInsecureHTTPLoads - - NSIncludesSubdomains - - - storage.seed2.loki.network - - NSExceptionAllowsInsecureHTTPLoads - - NSIncludesSubdomains - - - - NSExtension NSExtensionAttributes