mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-29 08:17:47 +00:00
Fix regression of edits showing up in the timeline with hidden events shown (#8260)
This commit is contained in:
committed by
GitHub
parent
f63923d60f
commit
0aa8b93c07
@@ -231,6 +231,10 @@ export function pickFactory(mxEvent: MatrixEvent, cli: MatrixClient, asHiddenEv?
|
||||
return MessageEventFactory;
|
||||
}
|
||||
|
||||
if (mxEvent.isRelation(RelationType.Replace)) {
|
||||
return noEventFactoryFactory();
|
||||
}
|
||||
|
||||
return EVENT_TILE_TYPES[evType] ?? noEventFactoryFactory();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user