Deploy: 2026-05-23 23:32:53

This commit is contained in:
Hamza-Ayed
2026-05-23 23:32:53 +03:00
parent 54203f2017
commit 102f110363

View File

@@ -736,7 +736,7 @@ async function exportChatHistory(session_key) {
fs.mkdirSync(publicDir, { recursive: true });
}
const filePath = path.join(publicDir, 'whatsapp_chats_history.txt');
fs.writeFileSync(filePath, outputText, 'utf8');
fs.writeFileSync(filePath, '\uFEFF' + outputText, 'utf8');
return filePath;
}