[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:
Saúl Ibarra Corretgé 2017-07-27 11:33:56 +02:00
parent 9871580e6d
commit 1fb31b6773
1 changed files with 1 additions and 1 deletions

View File

@ -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)
};