hide thread info when there are 0 replies
This commit is contained in:
parent
225380b248
commit
0a5e1772a5
1 changed files with 1 additions and 1 deletions
|
@ -521,7 +521,7 @@ export default class EventTile extends React.Component<IProps, IState> {
|
||||||
|
|
||||||
const thread = this.state.thread;
|
const thread = this.state.thread;
|
||||||
const room = MatrixClientPeg.get().getRoom(this.props.mxEvent.getRoomId());
|
const room = MatrixClientPeg.get().getRoom(this.props.mxEvent.getRoomId());
|
||||||
if (!thread || this.props.showThreadInfo === false) {
|
if (!thread || this.props.showThreadInfo === false || thread.length <= 1) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue