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

View File

@@ -4351,7 +4351,7 @@
- (NSUInteger)widgetsCount:(BOOL)includeUserWidgets
{
NSUInteger widgetsCount = [[WidgetManager sharedManager] widgetsNotOfTypes:@[kWidgetTypeJitsi]
NSUInteger widgetsCount = [[WidgetManager sharedManager] widgetsNotOfTypes:@[kWidgetTypeJitsiV1, kWidgetTypeJitsiV2]
inRoom:self.roomDataSource.room
withRoomState:self.roomDataSource.roomState].count;
if (includeUserWidgets)