mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
Fixing bug causing outgoing calls to be cancelled. Closes #264
This commit is contained in:
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…
Reference in a new issue