Jitsi: Support v1 and v2 widget types

This commit is contained in:
manuroe
2020-04-24 09:04:49 +02:00
parent 2bbf94e4bd
commit 685b2931b0
6 changed files with 14 additions and 9 deletions
@@ -802,7 +802,7 @@
Widget *jitsiWidget;
// Note: Manage only one jitsi widget at a time for the moment
jitsiWidget = [[WidgetManager sharedManager] widgetsOfTypes:@[kWidgetTypeJitsi] inRoom:self.room withRoomState:self.roomState].firstObject;
jitsiWidget = [[WidgetManager sharedManager] widgetsOfTypes:@[kWidgetTypeJitsiV1, kWidgetTypeJitsiV2] inRoom:self.room withRoomState:self.roomState].firstObject;
return jitsiWidget;
}