1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-08-07 21:23:00 +03:00

Migrate the hidden read receipts flag to new "send read receipts" option (#9141)

* Migrate the hidden read receipts flag to new "send read receipts" option

For safety.

* Appease linter & ignore guests

* `void`
This commit is contained in:
Travis Ralston
2022-08-08 15:48:28 -04:00
committed by GitHub
parent f467d94603
commit 32478db57e
6 changed files with 153 additions and 6 deletions

View File

@@ -826,6 +826,9 @@ async function startMatrixClient(startSyncing = true): Promise<void> {
await MatrixClientPeg.assign();
}
// Run the migrations after the MatrixClientPeg has been assigned
SettingsStore.runMigrations();
// This needs to be started after crypto is set up
DeviceListener.sharedInstance().start();
// Similarly, don't start sending presence updates until we've started