Fixing bug causing outgoing calls to be cancelled. Closes #264

pull/1/head
Frederic Jacobs 10 years ago
parent fc6b4b5549
commit 2d850021a0

@ -121,7 +121,7 @@
InCallViewController *callViewController = [InCallViewController inCallViewControllerWithCallState:latestCall
andOptionallyKnownContact:latestCall.potentiallySpecifiedContact];
if (latestCall.initiatedLocally == false){
if (latestCall.initiatedLocally == NO){
[self.callPickUpFuture.future thenDo:^(NSNumber *accept) {
if ([accept isEqualToNumber:@YES]) {
[callViewController answerButtonTapped];

@ -36,7 +36,7 @@
}
-(bool) isHangupForSession:(int64_t)targetSessionId {
return [self.method isEqualToString:@"DELETE"] && self.tryGetSessionId?[@(targetSessionId) isEqualToNumber:self.tryGetSessionId]:YES;
return [self.method isEqualToString:@"DELETE"] && self.tryGetSessionId?[@(targetSessionId) isEqualToNumber:self.tryGetSessionId]:NO;
}
-(bool) isBusyForSession:(int64_t)targetSessionId {

Loading…
Cancel
Save