Refactor chat system to remove E2EE and simplify messaging

Removed all E2EE chat endpoints, crypto logic, and related API routes, transitioning chat to plain text storage and transport. Updated chat send/receive endpoints to use signed actions and enforce DM privacy settings. Cleaned up Swarm chat inbox, key management, and related debug endpoints. Updated user profile to support DM privacy, improved search for handle queries, and refactored conversation/message logic to support the new model. Migrated bot settings and privacy settings to new locations.
This commit is contained in:
Christopher
2026-01-28 13:05:34 -08:00
parent b52b3f9804
commit ceae76d58f
44 changed files with 1945 additions and 3058 deletions
+2 -3
View File
@@ -80,15 +80,14 @@ export function AuthProvider({ children }: { children: React.ReactNode }) {
}
await unlockIdentityHook(
targetUser.privateKeyEncrypted,
targetUser.privateKeyEncrypted,
password,
targetUser.did,
targetUser.handle,
targetUser.publicKey
);
// Signal Protocol will auto-initialize when the chat page is opened
setShowUnlockPrompt(false); // Close prompt on success
};