Expose voip maxLayer

This commit is contained in:
Peter
2018-11-23 04:51:22 +03:00
parent f8b8d721ff
commit cc12a925bb
4 changed files with 6 additions and 7 deletions

View File

@@ -136,6 +136,10 @@ final class OngoingCallContext {
private let audioSessionDisposable = MetaDisposable()
private var networkTypeDisposable: Disposable?
static var maxLayer: Int32 {
return OngoingCallThreadLocalContext.maxLayer()
}
init(account: Account, callSessionManager: CallSessionManager, internalId: CallSessionInternalId, proxyServer: ProxyServerSettings?, initialNetworkType: NetworkType, updatedNetworkType: Signal<NetworkType, NoError>, serializedData: String?, dataSaving: VoiceCallDataSaving) {
let _ = setupLogs
OngoingCallThreadLocalContext.applyServerConfig(serializedData)