WIP e2e key backups

Continues from Matthew's work: adds a feature flag & panel in
user settings to create a backup.

Can't restore a backup yet, nor even continue backing up to the same
backup after a refresh.
This commit is contained in:
David Baker 2018-09-13 17:11:46 +01:00
parent 59e4879b14
commit 292b1f09af
9 changed files with 442 additions and 68 deletions

View file

@ -48,6 +48,8 @@ import SettingsStore, {SettingLevel} from "../../settings/SettingsStore";
import { startAnyRegistrationFlow } from "../../Registration.js";
import { messageForSyncError } from '../../utils/ErrorUtils';
import SuggestKeyRestoreHandler from "../../SuggestKeyRestoreHandler";
/** constants for MatrixChat.state.view */
const VIEWS = {
// a special initial state which is only used at startup, while we are