@vgroup/dialbox 0.4.192 → 0.4.194

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.
@@ -2184,9 +2184,9 @@ class CallProgressComponent {
2184
2184
  }
2185
2185
  async onEndCall(c, isAllCallEnd) {
2186
2186
  if (!c.isAcceptCall) {
2187
- let index = this.currentCallList.findIndex((res) => res.participantId == this.currentCall.participantId);
2187
+ let index = this.currentCallList.findIndex((res) => res.participantId == c.participantId);
2188
2188
  this.currentCallList.splice(index, 1);
2189
- return;
2189
+ return false;
2190
2190
  }
2191
2191
  let participantId = isAllCallEnd ? 'all' : c.participantId || c.participantId;
2192
2192
  let conferenceId = isAllCallEnd ? 'all' : c.conferenceId || this.currentCall.conferenceId;
@@ -2197,6 +2197,7 @@ class CallProgressComponent {
2197
2197
  this.cdr.detectChanges();
2198
2198
  }
2199
2199
  await this.getAllParticipants(this.twilioService.conferenceCallInfo.conferenceSid);
2200
+ return false;
2200
2201
  }
2201
2202
  async initiateCall(payload) {
2202
2203
  return await this.extensionService.initiateCall(payload).toPromise();