[iOS] Fix crash when a nil URL is loaded
NSDictionary doesn't support nil values, they must be objects, so use NSNull instead, which is the kosher way to do it.
This commit is contained in:
parent
9871580e6d
commit
1fb31b6773
|
@ -210,7 +210,7 @@ static NSMapTable<NSString *, JitsiMeetView *> *views;
|
|||
- (void)loadURLObject:(NSDictionary *)urlObject {
|
||||
NSDictionary *props = @{
|
||||
@"externalAPIScope": externalAPIScope,
|
||||
@"url": urlObject,
|
||||
@"url": urlObject ?: [NSNull null],
|
||||
@"welcomePageEnabled": @(self.welcomePageEnabled)
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue