mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-16 19:30:29 +00:00
no message
This commit is contained in:
parent
e6721adc80
commit
66443493c0
@ -337,7 +337,7 @@ func initializedNetwork(arguments: NetworkInitializationArguments, supplementary
|
|||||||
apiEnvironment = apiEnvironment.withUpdatedLangPackCode(languageCode ?? "en")
|
apiEnvironment = apiEnvironment.withUpdatedLangPackCode(languageCode ?? "en")
|
||||||
|
|
||||||
if let effectiveActiveServer = proxySettings?.effectiveActiveServer {
|
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)!
|
let context = MTContext(serialization: serialization, apiEnvironment: apiEnvironment)!
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user