Fixed compile errors due to the renaming of some variables done by my editor.
BTW: Yes! Over 1000 commitscanary
parent
7a6bf5914d
commit
b0602b7f0e
|
@ -192,7 +192,7 @@ export abstract class BasicIPCHandler {
|
||||||
resolve();
|
resolve();
|
||||||
};
|
};
|
||||||
this.sendMessage("certificate-accept-callback", {
|
this.sendMessage("certificate-accept-callback", {
|
||||||
currentRequestId: data[1]
|
request_id: data[1]
|
||||||
} as CertificateAcceptCallback, data[0]);
|
} as CertificateAcceptCallback, data[0]);
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
|
@ -86,7 +86,7 @@ export class ConnectHandler {
|
||||||
|
|
||||||
const response = {
|
const response = {
|
||||||
accepted: this.callback_available(data.data),
|
accepted: this.callback_available(data.data),
|
||||||
currentRequestId: data.request_id
|
request_id: data.request_id
|
||||||
} as ConnectOfferAnswer;
|
} as ConnectOfferAnswer;
|
||||||
|
|
||||||
if(response.accepted) {
|
if(response.accepted) {
|
||||||
|
@ -135,7 +135,7 @@ export class ConnectHandler {
|
||||||
|
|
||||||
log.debug(LogCategory.IPC, tr("Executing connect with client %s"), request.remote_handler);
|
log.debug(LogCategory.IPC, tr("Executing connect with client %s"), request.remote_handler);
|
||||||
this.ipc_channel.sendMessage("execute", {
|
this.ipc_channel.sendMessage("execute", {
|
||||||
currentRequestId: request.id
|
request_id: request.id
|
||||||
} as ConnectExecute, request.remote_handler);
|
} as ConnectExecute, request.remote_handler);
|
||||||
request.timeout = setTimeout(() => {
|
request.timeout = setTimeout(() => {
|
||||||
request.callback_failed("connect execute timeout");
|
request.callback_failed("connect execute timeout");
|
||||||
|
@ -185,7 +185,7 @@ export class ConnectHandler {
|
||||||
const cr = this.callback_execute(request.data);
|
const cr = this.callback_execute(request.data);
|
||||||
|
|
||||||
const response = {
|
const response = {
|
||||||
currentRequestId: data.request_id,
|
request_id: data.request_id,
|
||||||
|
|
||||||
succeeded: typeof(cr) !== "string" && cr,
|
succeeded: typeof(cr) !== "string" && cr,
|
||||||
message: typeof(cr) === "string" ? cr : "",
|
message: typeof(cr) === "string" ? cr : "",
|
||||||
|
@ -219,7 +219,7 @@ export class ConnectHandler {
|
||||||
this._pending_connects_requests.push(pd);
|
this._pending_connects_requests.push(pd);
|
||||||
|
|
||||||
this.ipc_channel.sendMessage("offer", {
|
this.ipc_channel.sendMessage("offer", {
|
||||||
currentRequestId: pd.id,
|
request_id: pd.id,
|
||||||
data: pd.data
|
data: pd.data
|
||||||
} as ConnectOffer);
|
} as ConnectOffer);
|
||||||
pd.timeout = setTimeout(() => {
|
pd.timeout = setTimeout(() => {
|
||||||
|
|
Loading…
Reference in New Issue