You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-11-28 05:03:59 +03:00
Fix check supportExperimentalThreads (#2017)
This commit is contained in:
@@ -8575,7 +8575,7 @@ export class MatrixClient extends EventEmitter {
|
|||||||
const ROOM = 0;
|
const ROOM = 0;
|
||||||
const THREAD = 1;
|
const THREAD = 1;
|
||||||
const threadRoots = new Set<string>();
|
const threadRoots = new Set<string>();
|
||||||
if (this.supportsExperimentalThreads) {
|
if (this.supportsExperimentalThreads()) {
|
||||||
return events.reduce((memo, event: MatrixEvent) => {
|
return events.reduce((memo, event: MatrixEvent) => {
|
||||||
const room = this.getRoom(event.getRoomId());
|
const room = this.getRoom(event.getRoomId());
|
||||||
// An event should live in the thread timeline if
|
// An event should live in the thread timeline if
|
||||||
|
|||||||
Reference in New Issue
Block a user