You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-08-07 21:23:00 +03:00
Fix types after underscore changes
This commit is contained in:
@@ -448,7 +448,7 @@ export function hydrateSession(credentials: IMatrixClientCreds): Promise<MatrixC
|
|||||||
*/
|
*/
|
||||||
async function doSetLoggedIn(
|
async function doSetLoggedIn(
|
||||||
credentials: IMatrixClientCreds,
|
credentials: IMatrixClientCreds,
|
||||||
clearStorage: boolean,
|
clearStorageEnabled: boolean,
|
||||||
): Promise<MatrixClient> {
|
): Promise<MatrixClient> {
|
||||||
credentials.guest = Boolean(credentials.guest);
|
credentials.guest = Boolean(credentials.guest);
|
||||||
|
|
||||||
@@ -472,7 +472,7 @@ async function doSetLoggedIn(
|
|||||||
// (dis.dispatch uses `setTimeout`, which does not guarantee ordering.)
|
// (dis.dispatch uses `setTimeout`, which does not guarantee ordering.)
|
||||||
dis.dispatch({action: 'on_logging_in'}, true);
|
dis.dispatch({action: 'on_logging_in'}, true);
|
||||||
|
|
||||||
if (clearStorage) {
|
if (clearStorageEnabled) {
|
||||||
await clearStorage();
|
await clearStorage();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user