add empty relay hint

This commit is contained in:
Alejandro Gomez 2023-01-23 16:54:39 +01:00
parent 40e47b8be3
commit 609704cc10
No known key found for this signature in database
GPG Key ID: 4DF39E566658C817

View File

@ -58,7 +58,7 @@ export default function useEventPublisher() {
try { try {
const hex = bech32ToHex(match); const hex = bech32ToHex(match);
const idx = ev.Tags.length; const idx = ev.Tags.length;
ev.Tags.push(new Tag(["e", hex, "mention"], idx)); ev.Tags.push(new Tag(["e", hex, "", "mention"], idx));
return `#[${idx}]` return `#[${idx}]`
} catch (error) { } catch (error) {
return match return match