Resolve thread from room Map rather than incorrect ref (#7080)
This commit is contained in:
parent
e26abbba72
commit
c18c66f4ed
1 changed files with 1 additions and 1 deletions
|
@ -130,7 +130,7 @@ export default class ThreadView extends React.Component<IProps, IState> {
|
|||
};
|
||||
|
||||
private setupThread = (mxEv: MatrixEvent) => {
|
||||
let thread = mxEv.getThread();
|
||||
let thread = this.props.room.threads.get(mxEv.getId());
|
||||
if (!thread) {
|
||||
const client = MatrixClientPeg.get();
|
||||
// Do not attach this thread object to the event for now
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue