@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.
@@ -2143,6 +2143,10 @@ class CallProgressComponent {
2143
2143
  onEndCall(c, isAllCallEnd) {
2144
2144
  return __awaiter(this, void 0, void 0, function* () {
2145
2145
  console.log(c, 'dsdsdsdsdsdsadsa');
2146
+ if (c.isAcceptCall) {
2147
+ this.currentCall = this.currentCall.filter((res) => res.id !== c.id);
2148
+ return;
2149
+ }
2146
2150
  let participantId = isAllCallEnd ? 'all' : c.participantId || c.participantId;
2147
2151
  let conferenceId = isAllCallEnd ? 'all' : c.conferenceId || this.currentCall.conferenceId;
2148
2152
  let res = yield this.getRemoveParticipants(participantId, conferenceId);