Browse Source

minor fix to prevent redundant offer

pull/605/head
Ryan Zhao 10 months ago
parent
commit
07c18927f2
  1. 1
      Session/Calls/Call Management/SessionCall.swift

1
Session/Calls/Call Management/SessionCall.swift

@ -282,6 +282,7 @@ public final class SessionCall: NSObject, WebRTCSessionDelegate {
// MARK: Delegate
public func webRTCIsConnected() {
self.reconnectTimer?.invalidate()
guard !self.hasConnected else { return }
self.hasConnected = true
self.answerCallAction?.fulfill()

Loading…
Cancel
Save