Fix ongoing call check in OutboundCallInitiator.

// FREEBIE
pull/1/head
Matthew Chen 8 years ago
parent cff3daa82a
commit 05f123c5eb

@ -57,7 +57,7 @@ import Foundation
Logger.error("\(self.TAG) OutboundCallInitiator aborting due to ongoing RedPhone call.") Logger.error("\(self.TAG) OutboundCallInitiator aborting due to ongoing RedPhone call.")
return return
} }
guard Environment.getCurrent().callService.call != nil else { guard Environment.getCurrent().callService.call == nil else {
Logger.error("\(self.TAG) OutboundCallInitiator aborting due to ongoing WebRTC call.") Logger.error("\(self.TAG) OutboundCallInitiator aborting due to ongoing WebRTC call.")
return return
} }

Loading…
Cancel
Save