From 4996dac1ea1de28439c859afc7ffc49c4fa27d34 Mon Sep 17 00:00:00 2001 From: rustmailer Date: Sun, 28 Jun 2026 11:39:44 +0800 Subject: [PATCH] Update folder-hint.ts --- web/src/features/import/folder-hint.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/web/src/features/import/folder-hint.ts b/web/src/features/import/folder-hint.ts index 3618d55..cdf1ebe 100644 --- a/web/src/features/import/folder-hint.ts +++ b/web/src/features/import/folder-hint.ts @@ -114,6 +114,7 @@ export interface FolderHint { export async function extractFolderHint(file: File): Promise { const ext = file.name.split('.').pop()?.toLowerCase(); const isMbox = ext === 'mbox'; + const isPst = ext === 'pst'; // Read first 64 KB — enough for headers of the first message const chunk = new Uint8Array(await file.slice(0, HEADER_READ_BYTES).arrayBuffer());