Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

[iOS] Fix crash when a nil URL is loaded

Saúl Ibarra Corretgé1fb31b67736c
diff --git a/ios/sdk/src/JitsiMeetView.m b/ios/sdk/src/JitsiMeetView.m
index bccf089ed6..dba6528f2c 100644
--- a/ios/sdk/src/JitsiMeetView.m
+++ b/ios/sdk/src/JitsiMeetView.m
@@ -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)
};