@vgroup/dialbox 0.4.187 → 0.4.189

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);
@@ -3829,6 +3833,11 @@ class DialboxComponent {
3829
3833
  // }
3830
3834
  console.log(',,,,,', this.incomingCallnotification);
3831
3835
  if (this.incomingCallnotification.data.content == "IncomingCall") {
3836
+ if (!this.incomingCallnotification.data.data?.c2cBusiness) {
3837
+ this.extensionService.getUserInformation(this.incomingCallnotification.data.data?.participantId).subscribe((resInfo) => {
3838
+ console.log('uesrInfo', resInfo);
3839
+ });
3840
+ }
3832
3841
  let incomingCall = {
3833
3842
  conferenceId: 'no',
3834
3843
  isActive: true,