Skip to content

Commit

Permalink
Fix check supportExperimentalThreads (#2017)
Browse files Browse the repository at this point in the history
  • Loading branch information
germain-gg authored and Germain Souquet committed Nov 18, 2021
1 parent ba7c08d commit c6f5831
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8575,7 +8575,7 @@ export class MatrixClient extends EventEmitter {
const ROOM = 0;
const THREAD = 1;
const threadRoots = new Set<string>();
if (this.supportsExperimentalThreads) {
if (this.supportsExperimentalThreads()) {
return events.reduce((memo, event: MatrixEvent) => {
const room = this.getRoom(event.getRoomId());
// An event should live in the thread timeline if
Expand Down

0 comments on commit c6f5831

Please sign in to comment.