Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 375b477

Browse files
committed
Fix regression of edits showing up in the timeline with show hidden events enabled
1 parent b40cde3 commit 375b477

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/events/EventTileFactory.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,10 @@ export function pickFactory(mxEvent: MatrixEvent, cli: MatrixClient, asHiddenEv?
231231
return MessageEventFactory;
232232
}
233233

234+
if (mxEvent.isRelation(RelationType.Replace)) {
235+
return noEventFactory;
236+
}
237+
234238
return EVENT_TILE_TYPES[evType] ?? noEventFactory;
235239
}
236240

0 commit comments

Comments
 (0)