forked from Kieran/snort
fix: add mention marker
This commit is contained in:
parent
002082d345
commit
40e47b8be3
@ -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], idx));
|
||||
ev.Tags.push(new Tag(["e", hex, "mention"], idx));
|
||||
return `#[${idx}]`
|
||||
} catch (error) {
|
||||
return match
|
||||
|
Loading…
Reference in New Issue
Block a user