Deploy: 2026-05-23 23:32:53
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user