mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-24 09:08:18 +00:00
Hide thread UI behind experimentalThreadSupport flag
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user