Fix missing threads in thread list (#8011)
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
3f67a389c1
commit
246d6757ab
3 changed files with 10 additions and 25 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue