mirror of
https://github.com/vector-im/element-ios.git
synced 2024-09-29 15:52:40 +00:00
Jitsi widget: Fix in [WidgetManager widgetsOfTypes:inRoom:]
This commit is contained in:
parent
1e62fcadaa
commit
43f9a278a2
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ NSString *const kMXKWidgetManagerDidUpdateWidgetNotification = @"kMXKWidgetManag
|
|||
NSString *widgetType;
|
||||
MXJSONModelSetString(widgetType, widgetEvent.content[@"type"]);
|
||||
|
||||
if (NSNotFound == [widgetTypes indexOfObject:widgetType])
|
||||
if (widgetType && NSNotFound == [widgetTypes indexOfObject:widgetType])
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue