feat: add kind:1111 events to feed
This commit is contained in:
parent
06f9ea984f
commit
7552499a76
5 changed files with 52 additions and 32 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue