revert my stupidity

This commit is contained in:
7w1 committed 2026-03-16 23:34:53 -05:00
1 parent e81d24e0ea
commit 0f10e19e85
1 file changed
+2 -8
+2 -8
View File
@@ -482,12 +482,7 @@ export function ThreadDrawer({ room, threadRootId, onClose, overlay }: ThreadDra
const thread = room.getThread(threadRootId);
const fromThread = thread?.events ?? [];
if (fromThread.length > 0) {
return fromThread.filter(
(ev) =>
ev.getId() !== threadRootId &&
!reactionOrEditEvent(ev) &&
ev.getContent()?.['m.relates_to']?.is_falling_back !== true
);
return fromThread.filter((ev) => ev.getId() !== threadRootId && !reactionOrEditEvent(ev));
}
return room
.getUnfilteredTimelineSet()
@@ -497,8 +492,7 @@ export function ThreadDrawer({ room, threadRootId, onClose, overlay }: ThreadDra
(ev) =>
ev.threadRootId === threadRootId &&
ev.getId() !== threadRootId &&
!reactionOrEditEvent(ev) &&
ev.getContent()?.['m.relates_to']?.is_falling_back !== true
!reactionOrEditEvent(ev)
);
})();