Various fixes
This commit is contained in:
Ilya Laktyushin
2018-12-20 18:14:08 +04:00
parent 2a75b5fc61
commit a9c80c111b
27 changed files with 193 additions and 34 deletions

View File

@@ -234,7 +234,7 @@ final class OngoingCallContext {
}
func start(key: Data, isOutgoing: Bool, connections: CallSessionConnectionSet, maxLayer: Int32, allowP2P: Bool, audioSessionActive: Signal<Bool, NoError>, logName: String) {
var logPath = logName.isEmpty ? "" : callLogsPath(account: self.account) + "/" + logName + ".log"
let logPath = logName.isEmpty ? "" : callLogsPath(account: self.account) + "/" + logName + ".log"
self.audioSessionDisposable.set((audioSessionActive
|> filter { $0 }
|> take(1)).start(next: { [weak self] _ in