Enable threads by default and mark it as a beta feature (#8081)
This commit is contained in:
parent
27e48062b6
commit
694c39e72d
16 changed files with 257 additions and 68 deletions
|
@ -612,7 +612,7 @@ export class UnwrappedEventTile extends React.Component<IProps, IState> {
|
|||
* when we are at the sync stage
|
||||
*/
|
||||
const room = MatrixClientPeg.get().getRoom(this.props.mxEvent.getRoomId());
|
||||
const thread = room?.threads.get(this.props.mxEvent.getId());
|
||||
const thread = room?.threads?.get(this.props.mxEvent.getId());
|
||||
|
||||
return thread || null;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue