Hide thread UI behind experimentalThreadSupport flag
This commit is contained in:
parent
ac0412d238
commit
d5356361a9
4 changed files with 26 additions and 12 deletions
|
@ -267,7 +267,9 @@ export default class MessagePanel extends React.Component<IProps, IState> {
|
|||
componentDidMount() {
|
||||
this.calculateRoomMembersCount();
|
||||
this.props.room?.on("RoomState.members", this.calculateRoomMembersCount);
|
||||
this.props.room?.getThreads().forEach(thread => thread.fetchReplyChain());
|
||||
if (SettingsStore.getValue("experimentalThreadSupport")) {
|
||||
this.props.room?.getThreads().forEach(thread => thread.fetchReplyChain());
|
||||
}
|
||||
this.isMounted = true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue