add empty relay hint
This commit is contained in:
parent
40e47b8be3
commit
609704cc10
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user