Merge branch 'master' into develop
This commit is contained in:
commit
a25fea9f96
4 changed files with 193 additions and 10 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue