diff --git a/Riot/Modules/Room/RoomViewController.m b/Riot/Modules/Room/RoomViewController.m index ee118fcaf4..b5d5f56650 100644 --- a/Riot/Modules/Room/RoomViewController.m +++ b/Riot/Modules/Room/RoomViewController.m @@ -8053,7 +8053,7 @@ - (void)removeJitsiWidgetViewDidCompleteSliding:(RemoveJitsiWidgetView *)view self.removeJitsiWidgetView.delegate = nil; // end active call if exists - if ([self isRoomHavingAJitsiCallForWidgetId:jitsiWidget.widgetId]) + if ([self isRoomHavingAJitsiCall]) { [self endActiveJitsiCall]; }