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 {
const hex = bech32ToHex(match);
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}]`
} catch (error) {
return match