@vgroup/dialbox 0.6.3-0.42 → 0.6.3-0.43

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.
@@ -1911,8 +1911,8 @@ class CallProgressComponent {
1911
1911
  if ((currentCall === null || currentCall === void 0 ? void 0 : currentCall.length) == 1 && ((_p = currentCall[0]) === null || _p === void 0 ? void 0 : _p.id)) {
1912
1912
  this.currentCall = currentCall[0] || this.currentCallList[0];
1913
1913
  }
1914
- else if ((currentCall === null || currentCall === void 0 ? void 0 : currentCall.length) > 1 && ((_q = currentCall[0]) === null || _q === void 0 ? void 0 : _q.isConference)) {
1915
- this.currentCall = this.currentConferenceCall.participants[0] || this.currentCallList[0];
1914
+ else if ((currentCall === null || currentCall === void 0 ? void 0 : currentCall.length) > 1 && ((_q = currentCall[1]) === null || _q === void 0 ? void 0 : _q.isConference)) {
1915
+ this.currentCall = currentCall[1] || this.currentCallList[1];
1916
1916
  this.isConference = true;
1917
1917
  }
1918
1918
  if (!this.currentConferenceCall && !this.isNewAddedCall) {
@@ -3716,7 +3716,7 @@ class DialboxComponent {
3716
3716
  this.registerDragElement();
3717
3717
  }
3718
3718
  ngOnChanges(changes) {
3719
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4;
3719
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6;
3720
3720
  if (((_a = changes['incomingCallnotification']) === null || _a === void 0 ? void 0 : _a.currentValue) && this.incomingCallnotification && ((_c = (_b = this.incomingCallnotification) === null || _b === void 0 ? void 0 : _b.data) === null || _c === void 0 ? void 0 : _c.content) != "Voicemail") {
3721
3721
  if (((_e = (_d = this.incomingCallnotification) === null || _d === void 0 ? void 0 : _d.data) === null || _e === void 0 ? void 0 : _e.content) == "IncomingCall" && ((_h = (_g = (_f = this.incomingCallnotification) === null || _f === void 0 ? void 0 : _f.data) === null || _g === void 0 ? void 0 : _g.data) === null || _h === void 0 ? void 0 : _h.status) != "rejected" && ((_l = (_k = (_j = this.incomingCallnotification) === null || _j === void 0 ? void 0 : _j.data) === null || _k === void 0 ? void 0 : _k.data) === null || _l === void 0 ? void 0 : _l.status) != "accepted") {
3722
3722
  this.isIncomingCallnotification = true;
@@ -3890,7 +3890,12 @@ class DialboxComponent {
3890
3890
  }
3891
3891
  }
3892
3892
  if ((_4 = changes['callAction']) === null || _4 === void 0 ? void 0 : _4.currentValue) {
3893
- this.isCallInProgress = true;
3893
+ if (((_5 = this.callAction) === null || _5 === void 0 ? void 0 : _5.type) == 'reJoin') {
3894
+ this.isCallInProgress = true;
3895
+ }
3896
+ else {
3897
+ this.extensionService.getRemoveParticipants('all', (_6 = this.callAction) === null || _6 === void 0 ? void 0 : _6.conferenceId).subscribe((res) => { });
3898
+ }
3894
3899
  }
3895
3900
  }
3896
3901
  registerDragElement() {