|
@@ -156,6 +156,15 @@ static NSMapTable<NSString *, JitsiMeetView *> *views;
|
156
|
156
|
|
157
|
157
|
#pragma mark Initializers
|
158
|
158
|
|
|
159
|
+- (instancetype)init {
|
|
160
|
+ self = [super init];
|
|
161
|
+ if (self) {
|
|
162
|
+ [self initWithXXX];
|
|
163
|
+ }
|
|
164
|
+
|
|
165
|
+ return self;
|
|
166
|
+}
|
|
167
|
+
|
159
|
168
|
- (instancetype)initWithCoder:(NSCoder *)coder {
|
160
|
169
|
self = [super initWithCoder:coder];
|
161
|
170
|
if (self) {
|
|
@@ -264,8 +273,10 @@ static NSMapTable<NSString *, JitsiMeetView *> *views;
|
264
|
273
|
});
|
265
|
274
|
|
266
|
275
|
// Hook this JitsiMeetView into ExternalAPI.
|
267
|
|
- externalAPIScope = [NSUUID UUID].UUIDString;
|
268
|
|
- [views setObject:self forKey:externalAPIScope];
|
|
276
|
+ if (!externalAPIScope) {
|
|
277
|
+ externalAPIScope = [NSUUID UUID].UUIDString;
|
|
278
|
+ [views setObject:self forKey:externalAPIScope];
|
|
279
|
+ }
|
269
|
280
|
|
270
|
281
|
// Set a background color which is in accord with the JavaScript and
|
271
|
282
|
// Android parts of the application and causes less perceived visual
|