@koi-design/callkit 1.0.26 → 1.0.27-beta.1

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.
@@ -19099,6 +19099,7 @@ var WebCall = (() => {
19099
19099
  SipSessionEvent.Terminating
19100
19100
  );
19101
19101
  }
19102
+ ;
19102
19103
  break;
19103
19104
  case SessionState2.Terminated:
19104
19105
  this.callKit.logger.debug("connect Terminated");
@@ -19111,14 +19112,12 @@ var WebCall = (() => {
19111
19112
  this.callKit.callCenter.callEnd(true, false);
19112
19113
  }
19113
19114
  this.isUnprompted = false;
19114
- if (!isExecuting) {
19115
- this.callKit.user.setUserStatus(UserStatus.catNap);
19116
- this.setConnectStatus(CallStatus.registered);
19117
- this.callKit.trigger(
19118
- KitEvent.SIP_SESSION_EVENT,
19119
- SipSessionEvent.Terminated
19120
- );
19121
- }
19115
+ this.callKit.user.setUserStatus(UserStatus.catNap);
19116
+ this.setConnectStatus(CallStatus.registered);
19117
+ this.callKit.trigger(
19118
+ KitEvent.SIP_SESSION_EVENT,
19119
+ SipSessionEvent.Terminated
19120
+ );
19122
19121
  break;
19123
19122
  default:
19124
19123
  break;