fix: trim pubkey before starting a convo with them

Fixes #2868
This commit is contained in:
Audric Ackermann 2023-08-21 10:36:29 +10:00
parent 61fbd23618
commit 73070d4e0e
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ export const OverlayMessage = () => {
const pubkeyorOnsTrimmed = pubkeyOrOns.trim();
if (!PubKey.validateWithErrorNoBlinding(pubkeyorOnsTrimmed)) {
await openConvoOnceResolved(pubkeyOrOns);
await openConvoOnceResolved(pubkeyorOnsTrimmed);
return;
}