@webex/plugin-meetings 3.12.0-next.19 → 3.12.0-next.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -451,9 +451,7 @@ var Meetings = exports.default = /*#__PURE__*/function (_WebexPlugin) {
451
451
  }
452
452
  if (data.eventType === _constants.LOCUSEVENT.HASH_TREE_DATA_UPDATED) {
453
453
  // need to check if maybe this event indicates a move to/from breakout
454
- var meetingForHashTreeMessage = (0, _locusInfo.findMeetingForHashTreeMessage)(data.stateElementsMessage, this.meetingCollection,
455
- // @ts-ignore
456
- this.webex.internal.device.url);
454
+ var meetingForHashTreeMessage = (0, _locusInfo.findMeetingForHashTreeMessage)(data === null || data === void 0 ? void 0 : data.stateElementsMessage, this.meetingCollection);
457
455
  if (meetingForHashTreeMessage) {
458
456
  return meetingForHashTreeMessage;
459
457
  }
@@ -493,7 +491,6 @@ var Meetings = exports.default = /*#__PURE__*/function (_WebexPlugin) {
493
491
  var _this2 = this;
494
492
  var useRandomDelayForInfo = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
495
493
  var meeting = this.getCorrespondingMeetingByLocus(data);
496
-
497
494
  // @ts-ignore
498
495
  if (this.config.experimental.storeLocusHashTreeEventsForDebugging) {
499
496
  (0, _meeting.storeEventForDebugging)('mercury', data);
@@ -1811,8 +1808,7 @@ var Meetings = exports.default = /*#__PURE__*/function (_WebexPlugin) {
1811
1808
  var lociToUpdate = (0, _toConsumableArray2.default)(mainLoci);
1812
1809
  breakoutLoci.forEach(function (breakoutLocus) {
1813
1810
  var associateMainLocus = mainLoci.find(function (mainLocus) {
1814
- var _mainLocus$controls, _mainLocus$controls$b, _breakoutLocus$contro, _breakoutLocus$contro2;
1815
- return ((_mainLocus$controls = mainLocus.controls) === null || _mainLocus$controls === void 0 ? void 0 : (_mainLocus$controls$b = _mainLocus$controls.breakout) === null || _mainLocus$controls$b === void 0 ? void 0 : _mainLocus$controls$b.url) === ((_breakoutLocus$contro = breakoutLocus.controls) === null || _breakoutLocus$contro === void 0 ? void 0 : (_breakoutLocus$contro2 = _breakoutLocus$contro.breakout) === null || _breakoutLocus$contro2 === void 0 ? void 0 : _breakoutLocus$contro2.url);
1811
+ return _util2.default.isMainAssociatedWithBreakout(mainLocus, breakoutLocus);
1816
1812
  });
1817
1813
  var existCorrespondingMeeting = _this12.getCorrespondingMeetingByLocus({
1818
1814
  eventType: _constants.LOCUSEVENT.SDK_NO_EVENT,
@@ -1848,8 +1844,7 @@ var Meetings = exports.default = /*#__PURE__*/function (_WebexPlugin) {
1848
1844
  return;
1849
1845
  }
1850
1846
  var existIndex = this.breakoutLocusForHandleLater.findIndex(function (breakoutLocus) {
1851
- var _breakoutLocus$contro3, _breakoutLocus$contro4, _newCreatedLocus$cont, _newCreatedLocus$cont2;
1852
- return ((_breakoutLocus$contro3 = breakoutLocus.controls) === null || _breakoutLocus$contro3 === void 0 ? void 0 : (_breakoutLocus$contro4 = _breakoutLocus$contro3.breakout) === null || _breakoutLocus$contro4 === void 0 ? void 0 : _breakoutLocus$contro4.url) === ((_newCreatedLocus$cont = newCreatedLocus.controls) === null || _newCreatedLocus$cont === void 0 ? void 0 : (_newCreatedLocus$cont2 = _newCreatedLocus$cont.breakout) === null || _newCreatedLocus$cont2 === void 0 ? void 0 : _newCreatedLocus$cont2.url);
1847
+ return _util2.default.isMainAssociatedWithBreakout(newCreatedLocus, breakoutLocus);
1853
1848
  });
1854
1849
  if (existIndex < 0) {
1855
1850
  return;