Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 28e4580

Browse files
committed
Fix types after underscore changes
1 parent 72bd72e commit 28e4580

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Lifecycle.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ export function hydrateSession(credentials: IMatrixClientCreds): Promise<MatrixC
448448
*/
449449
async function doSetLoggedIn(
450450
credentials: IMatrixClientCreds,
451-
clearStorage: boolean,
451+
clearStorageEnabled: boolean,
452452
): Promise<MatrixClient> {
453453
credentials.guest = Boolean(credentials.guest);
454454

@@ -472,7 +472,7 @@ async function doSetLoggedIn(
472472
// (dis.dispatch uses `setTimeout`, which does not guarantee ordering.)
473473
dis.dispatch({action: 'on_logging_in'}, true);
474474

475-
if (clearStorage) {
475+
if (clearStorageEnabled) {
476476
await clearStorage();
477477
}
478478

0 commit comments

Comments
 (0)