fix completed

This commit is contained in:
Mauro Romito
2023-11-07 16:30:13 +01:00
parent 6dc8f92af8
commit 7dbf2a8b60
2 changed files with 4 additions and 4 deletions
+4
View File
@@ -412,6 +412,10 @@ NSString *const WidgetManagerErrorDomain = @"WidgetManagerErrorDomain";
// Broadcast the generic notification
[[NSNotificationCenter defaultCenter] postNotificationName:kWidgetManagerDidUpdateWidgetNotification object:widget];
// End jitsi call if a active call exists and widget has been updated to not be active
if ([[AppDelegate theDelegate].callPresenter.jitsiVC.widget.widgetId isEqualToString: widget.widgetId] && !widget.isActive) {
[[AppDelegate theDelegate].callPresenter endActiveJitsiCall];
}
}
else
{