diff --git a/src/Utils/history.ts b/src/Utils/history.ts index 294f5e66..61b20871 100644 --- a/src/Utils/history.ts +++ b/src/Utils/history.ts @@ -39,16 +39,6 @@ export const downloadHistory = async (msg: proto.Message.IHistorySyncNotificatio buffer = await inflatePromise(buffer) const syncData = proto.HistorySync.decode(buffer) - - // Mirror WA Desktop behaviour: DELETE the CDN blob after successful download - // so the server cleans up the one-time history sync file (fire-and-forget) - if (msg.directPath) { - const cdnUrl = getUrlFromDirectPath(msg.directPath) - fetch(cdnUrl, { method: 'DELETE', ...options }).catch(() => { - // non-fatal — server will expire it anyway - }) - } - return syncData }