feat: add kind:1111 events to feed

This commit is contained in:
codytseng
2025-05-24 16:53:14 +08:00
parent 06f9ea984f
commit 7552499a76
5 changed files with 52 additions and 32 deletions

View File

@@ -61,7 +61,12 @@ export function isProtectedEvent(event: Event) {
}
export function isSupportedKind(kind: number) {
return [kinds.ShortTextNote, kinds.Highlights, ExtendedKind.PICTURE].includes(kind)
return [
kinds.ShortTextNote,
kinds.Highlights,
ExtendedKind.PICTURE,
ExtendedKind.COMMENT
].includes(kind)
}
export function getParentEventTag(event?: Event) {