Merge branch 'refs/heads/develop' into florianduros/tooltip-update
This commit is contained in:
commit
79cbfafce3
23 changed files with 628 additions and 77 deletions
|
@ -87,7 +87,7 @@ import { showToast as showMobileGuideToast } from "../../toasts/MobileGuideToast
|
|||
import { shouldUseLoginForWelcome } from "../../utils/pages";
|
||||
import RoomListStore from "../../stores/room-list/RoomListStore";
|
||||
import { RoomUpdateCause } from "../../stores/room-list/models";
|
||||
import SecurityCustomisations from "../../customisations/Security";
|
||||
import { ModuleRunner } from "../../modules/ModuleRunner";
|
||||
import Spinner from "../views/elements/Spinner";
|
||||
import QuestionDialog from "../views/dialogs/QuestionDialog";
|
||||
import UserSettingsDialog from "../views/dialogs/UserSettingsDialog";
|
||||
|
@ -441,7 +441,9 @@ export default class MatrixChat extends React.PureComponent<IProps, IState> {
|
|||
if (crossSigningIsSetUp) {
|
||||
// if the user has previously set up cross-signing, verify this device so we can fetch the
|
||||
// private keys.
|
||||
if (SecurityCustomisations.SHOW_ENCRYPTION_SETUP_UI === false) {
|
||||
|
||||
const cryptoExtension = ModuleRunner.instance.extensions.cryptoSetup;
|
||||
if (cryptoExtension.SHOW_ENCRYPTION_SETUP_UI == false) {
|
||||
this.onLoggedIn();
|
||||
} else {
|
||||
this.setStateForNewView({ view: Views.COMPLETE_SECURITY });
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue