Don't setup keys on login when encryption is force disabled (#11125)
* move shouldForceDisableEncryption to /crypto * dont setup encryption when encryption is force disabled * shuffle testing functions * test post login security setup flows * remove debug * lint fixes * strict fixes * strict fixes p2 --------- Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
5cf818fefa
commit
79a7b9aedc
8 changed files with 93 additions and 5 deletions
|
@ -16,7 +16,7 @@ limitations under the License.
|
|||
|
||||
import { MatrixClient } from "matrix-js-sdk/src/matrix";
|
||||
|
||||
import { shouldForceDisableEncryption } from "./room/shouldForceDisableEncryption";
|
||||
import { shouldForceDisableEncryption } from "./crypto/shouldForceDisableEncryption";
|
||||
import { getE2EEWellKnown } from "./WellKnownUtils";
|
||||
|
||||
export function privateShouldBeEncrypted(client: MatrixClient): boolean {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue