Skip to content

Commit

Permalink
Refactor IsCallFromPsuh
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacakakpo1 committed Mar 7, 2024
1 parent 5e9d32b commit ab8be48
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion TelnyxRTC.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Pod::Spec.new do |spec|

spec.name = "TelnyxRTC"
spec.version = "0.1.22-beta"
spec.version = "0.1.23-beta"
spec.summary = "Enable Telnyx real-time communication services on iOS."
spec.description = "The Telnyx iOS WebRTC Client SDK provides all the functionality you need to start making voice calls from an iPhone."
spec.homepage = "https://github.com/team-telnyx/telnyx-webrtc-ios"
Expand Down
2 changes: 0 additions & 2 deletions TelnyxRTC/Telnyx/TxClient.swift
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,6 @@ public class TxClient {
for (_ ,call) in self.calls {
call.hangup()
}

self.calls.removeAll()
socket?.disconnect()
delegate?.onSocketDisconnected()
Expand Down Expand Up @@ -701,7 +700,6 @@ extension TxClient : SocketDelegate {
let message : String = error["message"] as? String ?? "Unknown"
let code : String = String(error["code"] as? Int ?? 0)
let err = TxError.serverError(reason: .signalingServerError(message: message, code: code))
self.isCallFromPush = false
self.delegate?.onClientError(error: err)
FileLogger.shared.log("TxClient:: Server Error data: [\(message)]/n")
}
Expand Down

0 comments on commit ab8be48

Please sign in to comment.