Enumeration MigrationStateInternal

A record of which steps have been completed in the libolm to Rust Crypto migration.

Used by CryptoStore#getMigrationState and CryptoStore#setMigrationState.

Enumeration Members

INITIAL_DATA_MIGRATED: 1

We have migrated the account data, cross-signing keys, etc.

INITIAL_OWN_KEY_QUERY_DONE: 5

ROOM_SETTINGS_MIGRATED, and in addition, we have done the first own keys query in order to load the public part of the keys that have been migrated

MEGOLM_SESSIONS_MIGRATED: 3

OLM_SESSIONS_MIGRATED, and in addition, we have migrated all the Megolm sessions.

NOT_STARTED: 0

No migration steps have yet been completed.

OLM_SESSIONS_MIGRATED: 2

INITIAL_DATA_MIGRATED, and in addition, we have migrated all the Olm sessions.

ROOM_SETTINGS_MIGRATED: 4

MEGOLM_SESSIONS_MIGRATED, and in addition, we have migrated all the room settings.