Fix ongoing call check in OutboundCallInitiator.

// FREEBIE
This commit is contained in:
Matthew Chen 2017-02-03 12:04:21 -05:00
parent cff3daa82a
commit 05f123c5eb
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ import Foundation
Logger.error("\(self.TAG) OutboundCallInitiator aborting due to ongoing RedPhone call.")
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.")
return
}