diff --git a/ts/textsecure/WebAPI.ts b/ts/textsecure/WebAPI.ts index 999fec1e6ff7..7c0d2d1e2cd8 100644 --- a/ts/textsecure/WebAPI.ts +++ b/ts/textsecure/WebAPI.ts @@ -3514,7 +3514,7 @@ export function initialize({ disableRetries: options?.disableRetries, proxyUrl, responseType: 'stream', - timeout: options?.timeout || 0, + timeout: options?.timeout ?? DEFAULT_TIMEOUT, type: 'GET', redactUrl: redactor, version,