Fix missing threads in thread list (#8011)
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
co-authored by
Michael Telatynski
parent
3f67a389c1
commit
246d6757ab
@@ -157,7 +157,7 @@ export default class ThreadView extends React.Component<IProps, IState> {
|
||||
private setupThread = (mxEv: MatrixEvent) => {
|
||||
let thread = this.props.room.threads?.get(mxEv.getId());
|
||||
if (!thread) {
|
||||
thread = this.props.room.createThread(mxEv, [mxEv]);
|
||||
thread = this.props.room.createThread(mxEv, [mxEv], true);
|
||||
}
|
||||
thread.on(ThreadEvent.Update, this.updateLastThreadReply);
|
||||
this.updateThread(thread);
|
||||
|
||||
Reference in New Issue
Block a user