mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-04 19:56:45 +02:00
hide thread info when there are 0 replies
This commit is contained in:
parent
225380b248
commit
0a5e1772a5
@ -521,7 +521,7 @@ export default class EventTile extends React.Component<IProps, IState> {
|
||||
|
||||
const thread = this.state.thread;
|
||||
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;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user