@vgroup/dialbox 0.6.3-0.41 → 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.
@@ -1856,7 +1856,7 @@ class CallProgressComponent {
1856
1856
  isHold: res?.isHold,
1857
1857
  isConferenceHold: ourNumberInfo?.isHold || false,
1858
1858
  isMute: false,
1859
- isConference: res?.isConference,
1859
+ isConference: res?.isConference || this.isConference,
1860
1860
  isAcceptCall: res?.direction == "incoming-call" ? this.getStatus(res) : true,
1861
1861
  dial: true,
1862
1862
  phone: res?.direction == "incoming-call" ? res?.from : res?.to,
@@ -1891,7 +1891,7 @@ class CallProgressComponent {
1891
1891
  isHold: res?.isHold,
1892
1892
  isConferenceHold: ourNumberInfo?.isHold || false,
1893
1893
  isMute: res?.isMute,
1894
- isConference: res?.isConference,
1894
+ isConference: res?.isConference || this.isConference,
1895
1895
  isAcceptCall: res.direction == "incoming-call" ? this.getStatus(res) : true,
1896
1896
  dial: true,
1897
1897
  phone: res?.direction == "incoming-call" ? res?.from : res?.to,
@@ -1962,8 +1962,8 @@ class CallProgressComponent {
1962
1962
  if (currentCall?.length == 1 && currentCall[0]?.id) {
1963
1963
  this.currentCall = currentCall[0] || this.currentCallList[0];
1964
1964
  }
1965
- else if (currentCall?.length > 1 && currentCall[0]?.isConference) {
1966
- this.currentCall = this.currentConferenceCall.participents[0] || this.currentCallList[0];
1965
+ else if (currentCall?.length > 1 && currentCall[1]?.isConference) {
1966
+ this.currentCall = currentCall[1] || this.currentCallList[1];
1967
1967
  this.isConference = true;
1968
1968
  }
1969
1969
  if (!this.currentConferenceCall && !this.isNewAddedCall) {
@@ -3866,7 +3866,12 @@ class DialboxComponent {
3866
3866
  }
3867
3867
  }
3868
3868
  if (changes['callAction']?.currentValue) {
3869
- this.isCallInProgress = true;
3869
+ if (this.callAction?.type == 'reJoin') {
3870
+ this.isCallInProgress = true;
3871
+ }
3872
+ else {
3873
+ this.extensionService.getRemoveParticipants('all', this.callAction?.conferenceId).subscribe((res) => { });
3874
+ }
3870
3875
  }
3871
3876
  }
3872
3877
  registerDragElement() {