Merge pull request #314 from kphrx/feat/kind1-reposts
feat: render kind 1 reposts
This commit is contained in:
@ -191,3 +191,8 @@ export function getNewest(rawNotes: TaggedRawEvent[]) {
|
||||
return notes[0];
|
||||
}
|
||||
}
|
||||
|
||||
export function tagFilterOfTextRepost(note: TaggedRawEvent, id?: u256): (tag: string[], i: number) => boolean {
|
||||
return (tag, i) =>
|
||||
tag[0] === "e" && tag[3] === "mention" && note.content === `#[${i}]` && (id ? tag[1] === id : true);
|
||||
}
|
||||
|
Reference in New Issue
Block a user