@vgroup/dialbox 0.4.187 → 0.4.188

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,6 +2184,10 @@ class CallProgressComponent {
2184
2184
  }
2185
2185
  async onEndCall(c, isAllCallEnd) {
2186
2186
  console.log(c, 'dsdsdsdsdsdsadsa');
2187
+ if (c.isAcceptCall) {
2188
+ this.currentCall = this.currentCall.filter((res) => res.id !== c.id);
2189
+ return;
2190
+ }
2187
2191
  let participantId = isAllCallEnd ? 'all' : c.participantId || c.participantId;
2188
2192
  let conferenceId = isAllCallEnd ? 'all' : c.conferenceId || this.currentCall.conferenceId;
2189
2193
  let res = await this.getRemoveParticipants(participantId, conferenceId);