feat: Remove chat key management and debug endpoints, simplify chat message handling, and enhance migration page with DM and bot export capabilities.

This commit is contained in:
Christomatt
2026-01-29 00:04:22 +01:00
parent 9cd23081ed
commit c47b0141f5
11 changed files with 293 additions and 249 deletions
-16
View File
@@ -1,16 +0,0 @@
import { db } from '../src/db';
import { chatDeviceBundles } from '../src/db/schema';
async function clearChatKeys() {
console.log('Clearing all chat device bundles...');
const result = await db.delete(chatDeviceBundles);
console.log('Cleared chat device bundles');
process.exit(0);
}
clearChatKeys().catch((error) => {
console.error('Failed to clear keys:', error);
process.exit(1);
});