pub fn migrate_room_settings(
room_settings: HashMap<String, RoomSettings>,
path: String,
passphrase: Option<String>,
) -> Result<(), MigrationError>
Expand description
Migrate room settings, including room algorithm and whether to block untrusted devices from legacy store to Sqlite store.
Note that this method should only be used if a client has already migrated account data via migrate method, which did not include room settings. For a brand new migration, the migrate method will take care of room settings automatically, if provided.
ยงArguments
-
room_settings
- Map of room settings -
path
- The path where the Sqlite store should be created. -
passphrase
- The passphrase that should be used to encrypt the data at rest in the Sqlite store. Warning, if no passphrase is given, the store and all its data will remain unencrypted.