You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-13 23:41:50 +03:00
Make UI respond to thread events
This commit is contained in:
@ -267,6 +267,7 @@ 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());
|
||||
this.isMounted = true;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user