mirror of
https://github.com/jjbrunton/Sauci.git
synced 2026-11-01 18:19:43 +00:00
Add E2EE key pair verification before send
🤖 Generated with [Claude Code](https://claude.com/claude-code)
This commit is contained in:
1 parent
69f43ffb7d
commit
0ffa7fa952
6 files changed
+148
-29
No files matched your search
@@ -184,7 +184,11 @@ export const ChatScreen: React.FC = () => {
|
||||
}
|
||||
} catch (err) {
|
||||
console.error("Error sending message:", err);
|
||||
Alert.alert("Error", "Failed to send message");
|
||||
// Show the actual error message if it's user-friendly (from encryption)
|
||||
const errorMessage = err instanceof Error && err.message
|
||||
? err.message
|
||||
: "Failed to send message";
|
||||
Alert.alert("Error", errorMessage);
|
||||
setInputText(content);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user