Merge branch 'master' into develop
This commit is contained in:
@@ -633,7 +633,7 @@ export default class EventTile extends React.Component<IProps, IState> {
|
||||
* We currently have no reliable way to discover than an event is a thread
|
||||
* when we are at the sync stage
|
||||
*/
|
||||
const room = this.context.getRoom(this.props.mxEvent.getRoomId());
|
||||
const room = MatrixClientPeg.get().getRoom(this.props.mxEvent.getRoomId());
|
||||
const thread = room?.threads.get(this.props.mxEvent.getId());
|
||||
|
||||
if (!thread || thread.length === 0) {
|
||||
|
||||
Reference in New Issue
Block a user