feat: display i value
This commit is contained in:
parent
01462da65f
commit
a319204910
15 changed files with 65 additions and 13 deletions
|
|
@ -26,7 +26,9 @@ export function isNsfwEvent(event: Event) {
|
|||
}
|
||||
|
||||
export function isReplyNoteEvent(event: Event) {
|
||||
if (event.kind === ExtendedKind.COMMENT) return true
|
||||
if (event.kind === ExtendedKind.COMMENT) {
|
||||
return !!getParentEventTag(event)
|
||||
}
|
||||
if (event.kind !== kinds.ShortTextNote) return false
|
||||
|
||||
const cache = EVENT_IS_REPLY_NOTE_CACHE.get(event.id)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue