mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
Fix: Second call fails
The callController exists after a first call fails due to busy. It is not sufficient to check for it's existence. // FREEBIE
This commit is contained in:
parent
091052185b
commit
c4a677a0bc
1 changed files with 5 additions and 1 deletions
|
@ -139,7 +139,11 @@
|
|||
|
||||
- (BOOL)hasOngoingCall
|
||||
{
|
||||
return self.curCallController != nil;
|
||||
if (!self.curCallController) {
|
||||
return NO;
|
||||
}
|
||||
|
||||
return [self.curCallController callState].futureTermination.isIncomplete;
|
||||
}
|
||||
|
||||
- (CallController *)curCallController {
|
||||
|
|
Loading…
Reference in a new issue