Skip media downloads during calls.
This commit is contained in:
parent
aded9119b8
commit
a4b2ba0e2b
@ -426,6 +426,10 @@ NSString *const ReportedApplicationStateDidChangeNotification = @"ReportedApplic
|
||||
|
||||
- (BOOL)hasActiveCall
|
||||
{
|
||||
if (!AppReadiness.isAppReady) {
|
||||
OWSFailDebug(@"App is not ready.");
|
||||
return NO;
|
||||
}
|
||||
return AppEnvironment.shared.callService.hasCallInProgress;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user