You've already forked matrix-js-sdk
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:
@@ -8489,6 +8489,13 @@ export class MatrixClient extends EventEmitter {
|
||||
publicise: isPublic,
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* @experimental
|
||||
*/
|
||||
public supportsExperimentalThreads(): boolean {
|
||||
return this.clientOpts.experimentalThreadSupport;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user