revert my stupidity
This commit is contained in:
1 file changed
+2
-8
@@ -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)
|
||||
);
|
||||
})();
|
||||
|
||||
|
||||
Reference in new issue
Block a user