matrix-react-sdk
Version:
SDK for matrix.org using React
9 lines (8 loc) • 340 B
TypeScript
import { MatrixClient } from "matrix-js-sdk/src/matrix";
/**
* If encryption is force disabled AND the user is not in any encrypted rooms
* skip setting up encryption
* @param client
* @returns {boolean} true when we can skip settings up encryption
*/
export declare const shouldSkipSetupEncryption: (client: MatrixClient) => boolean;