瀏覽代碼

feat(ios/sdk): fix room taken from wrong param

factor2
Calin-Teodor 1 年之前
父節點
當前提交
bbf55e8476
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3
    3
      ios/sdk/src/JitsiMeet.m

+ 3
- 3
ios/sdk/src/JitsiMeet.m 查看文件

62
 
62
 
63
         // Initialize the one and only bridge for interfacing with React Native.
63
         // Initialize the one and only bridge for interfacing with React Native.
64
         _bridgeWrapper = [[RCTBridgeWrapper alloc] init];
64
         _bridgeWrapper = [[RCTBridgeWrapper alloc] init];
65
-        
65
+
66
         // Initialize the listener for handling start/stop screensharing notifications.
66
         // Initialize the listener for handling start/stop screensharing notifications.
67
         _screenshareEventEmiter = [[ScheenshareEventEmiter alloc] init];
67
         _screenshareEventEmiter = [[ScheenshareEventEmiter alloc] init];
68
 
68
 
141
     if (_bridgeWrapper != nil) {
141
     if (_bridgeWrapper != nil) {
142
         return;
142
         return;
143
     };
143
     };
144
-    
144
+
145
     _bridgeWrapper = [[RCTBridgeWrapper alloc] init];
145
     _bridgeWrapper = [[RCTBridgeWrapper alloc] init];
146
 }
146
 }
147
 
147
 
231
 }
231
 }
232
 
232
 
233
 - (void)setDefaultConferenceOptions:(JitsiMeetConferenceOptions *)defaultConferenceOptions {
233
 - (void)setDefaultConferenceOptions:(JitsiMeetConferenceOptions *)defaultConferenceOptions {
234
-    if (defaultConferenceOptions != nil && _defaultConferenceOptions.room != nil) {
234
+    if (defaultConferenceOptions != nil && defaultConferenceOptions.room != nil) {
235
         @throw [NSException exceptionWithName:@"RuntimeError"
235
         @throw [NSException exceptionWithName:@"RuntimeError"
236
                                        reason:@"'room' must be null in the default conference options"
236
                                        reason:@"'room' must be null in the default conference options"
237
                                      userInfo:nil];
237
                                      userInfo:nil];

Loading…
取消
儲存