1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-11-26 17:03:12 +03:00

Add helper to check threads support

This commit is contained in:
Germain Souquet
2021-09-09 17:24:34 +01:00
parent 33c9471112
commit 48a9db0315

View File

@@ -8489,6 +8489,13 @@ export class MatrixClient extends EventEmitter {
publicise: isPublic, publicise: isPublic,
}); });
} }
/**
* @experimental
*/
public supportsExperimentalThreads(): boolean {
return this.clientOpts.experimentalThreadSupport;
}
} }
/** /**