feat: display i value

This commit is contained in:
codytseng 2025-05-25 15:44:19 +08:00
parent 01462da65f
commit a319204910
15 changed files with 65 additions and 13 deletions

View file

@ -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)