no message

This commit is contained in:
Peter Iakovlev 2018-04-20 14:25:10 +04:00
parent e6721adc80
commit 66443493c0

View File

@ -337,7 +337,7 @@ func initializedNetwork(arguments: NetworkInitializationArguments, supplementary
apiEnvironment = apiEnvironment.withUpdatedLangPackCode(languageCode ?? "en")
if let effectiveActiveServer = proxySettings?.effectiveActiveServer {
apiEnvironment = apiEnvironment.withUpdatedSocksProxySettings(MTSocksProxySettings(ip: activeServer.host, port: UInt16(activeServer.port), username: activeServer.username, password: activeServer.password))
apiEnvironment = apiEnvironment.withUpdatedSocksProxySettings(MTSocksProxySettings(ip: effectiveActiveServer.host, port: UInt16(effectiveActiveServer.port), username: effectiveActiveServer.username, password: effectiveActiveServer.password))
}
let context = MTContext(serialization: serialization, apiEnvironment: apiEnvironment)!