This is why we shouldn't rely on regex
This commit is contained in:
Jorik Schellekens 2020-05-07 14:22:15 +01:00
parent 5a0fdb36c0
commit bc5fc57dd6
3 changed files with 14 additions and 5 deletions

View file

@ -184,8 +184,13 @@ export default class ReplyThread extends React.Component {
if (!ReplyThread.getParentEventId(parentEv)) {
return <div className="mx_ReplyThread_wrapper_empty" />;
}
return <ReplyThread parentEv={parentEv} onHeightChanged={onHeightChanged}
ref={ref} permalinkCreator={permalinkCreator} useIRCLayout={useIRCLayout} displayAvatars={displayAvatars} />;
return <ReplyThread
parentEv={parentEv}
onHeightChanged={onHeightChanged}
ref={ref}
permalinkCreator={permalinkCreator}
useIRCLayout={useIRCLayout}
displayAvatars={displayAvatars} />;
}
componentDidMount() {