diff --git a/src/libs/HttpUtils.ts b/src/libs/HttpUtils.ts index 58c126518188..22e342ac847b 100644 --- a/src/libs/HttpUtils.ts +++ b/src/libs/HttpUtils.ts @@ -49,6 +49,7 @@ function processHTTPRequest(url: string, method: RequestType = 'get', body: Form body, }) .then((response) => { + // We are calculating the skew to minimize the delay when posting the messages const match = url.match(APICommandRegex)?.[1]; if (match && addSkewList.includes(match) && response.headers) { const dateHeaderValue = response.headers.get('Date');