@vgroup/dialbox 0.6.6 → 0.6.7
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.
|
@@ -2099,7 +2099,7 @@ class CallProgressComponent {
|
|
|
2099
2099
|
var _a, _b;
|
|
2100
2100
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2101
2101
|
let index = this.currentCallList.findIndex((res) => res.participantId == this.currentCall.participantId);
|
|
2102
|
-
this.extensionService.getRemoveParticipants((_a = this.currentCallList[index]) === null || _a === void 0 ? void 0 : _a.participantId, (_b = this.currentCallList[index]) === null || _b === void 0 ? void 0 : _b.conferenceId).subscribe((res) => {
|
|
2102
|
+
this.extensionService.getRemoveParticipants((_a = this.currentCallList[index]) === null || _a === void 0 ? void 0 : _a.participantId, ((_b = this.currentCallList[index]) === null || _b === void 0 ? void 0 : _b.conferenceId) || 'no').subscribe((res) => {
|
|
2103
2103
|
console.log(res);
|
|
2104
2104
|
this.currentCallList.splice(index, 1);
|
|
2105
2105
|
this.incomeingCallSocketService.pause();
|
|
@@ -2108,15 +2108,18 @@ class CallProgressComponent {
|
|
|
2108
2108
|
});
|
|
2109
2109
|
}
|
|
2110
2110
|
onEndCall(c, isAllCallEnd, isContect) {
|
|
2111
|
-
var _a;
|
|
2111
|
+
var _a, _b;
|
|
2112
2112
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2113
2113
|
if (!(c === null || c === void 0 ? void 0 : c.isAcceptCall) && !isContect) {
|
|
2114
2114
|
let index = this.currentCallList.findIndex((res) => res.participantId == c.participantId);
|
|
2115
|
-
this.
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
2115
|
+
this.extensionService.getRemoveParticipants((_a = this.currentCallList[index]) === null || _a === void 0 ? void 0 : _a.participantId, ((_b = this.currentCallList[index]) === null || _b === void 0 ? void 0 : _b.conferenceId) || 'no').subscribe((res) => {
|
|
2116
|
+
var _a;
|
|
2117
|
+
this.currentCallList.splice(index, 1);
|
|
2118
|
+
this.incomeingCallSocketService.pause();
|
|
2119
|
+
(_a = this.call) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
2120
|
+
this.endIncomingCallEvent.emit(c);
|
|
2121
|
+
return false;
|
|
2122
|
+
});
|
|
2120
2123
|
}
|
|
2121
2124
|
let participantId = isAllCallEnd ? 'all' : c.participantId;
|
|
2122
2125
|
let conferenceId = isAllCallEnd ? 'all' : c.conferenceId || this.currentCall.conferenceId;
|