You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-15 11:01:52 +03:00
Make UI respond to thread events
This commit is contained in:
@ -52,13 +52,6 @@ class ThreadView extends React.Component<IProps, IState> {
|
||||
public componentDidMount(): void {
|
||||
this.room.on("Thread.update", this.onThreadEventReceived);
|
||||
this.room.on("Thread.ready", this.onThreadEventReceived);
|
||||
this.updateThreads(() => {
|
||||
this.state.threads.forEach(thread => {
|
||||
if (!thread.ready) {
|
||||
thread.fetchReplyChain();
|
||||
}
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
public componentWillUnmount(): void {
|
||||
|
Reference in New Issue
Block a user