Update m.render_in to is_falling_back (+ unstable field) (#7979)
This commit is contained in:
parent
2ab8b46ba3
commit
288e47fd81
4 changed files with 26 additions and 31 deletions
|
@ -1403,11 +1403,8 @@ export class UnwrappedEventTile extends React.Component<IProps, IState> {
|
|||
msgOption = readAvatars;
|
||||
}
|
||||
|
||||
const renderTarget = this.context.timelineRenderingType === TimelineRenderingType.Thread
|
||||
? RelationType.Thread
|
||||
: undefined;
|
||||
|
||||
const replyChain = haveTileForEvent(this.props.mxEvent) && shouldDisplayReply(this.props.mxEvent, renderTarget)
|
||||
const inThread = this.context.timelineRenderingType === TimelineRenderingType.Thread;
|
||||
const replyChain = haveTileForEvent(this.props.mxEvent) && shouldDisplayReply(this.props.mxEvent, inThread)
|
||||
? <ReplyChain
|
||||
parentEv={this.props.mxEvent}
|
||||
onHeightChanged={this.props.onHeightChanged}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue