Browse Source

fix: remove filtering replies by created_at

imwald
codytseng 10 months ago
parent
commit
bf6b96fd91
  1. 2
      src/components/ReplyNoteList/index.tsx

2
src/components/ReplyNoteList/index.tsx

@ -143,8 +143,6 @@ export default function ReplyNoteList({
const rootEventId = getRootEventHexId(event) ?? event.id const rootEventId = getRootEventHexId(event) ?? event.id
const isRootEvent = rootEventId === event.id const isRootEvent = rootEventId === event.id
for (const evt of events) { for (const evt of events) {
if (evt.created_at < event.created_at) continue
const parentEventId = getParentEventHexId(evt) const parentEventId = getParentEventHexId(evt)
if (parentEventId) { if (parentEventId) {
const parentReplyInfo = replyMap.get(parentEventId) const parentReplyInfo = replyMap.get(parentEventId)

Loading…
Cancel
Save