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());