1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-11-25 05:23:13 +03:00

Merge pull request #1665 from uhoreg/dehydrated_device_missing_await

Add missing await
This commit is contained in:
Hubert Chathi
2021-04-14 10:47:09 -04:00
committed by GitHub

View File

@@ -500,7 +500,7 @@ MatrixClient.prototype.rehydrateDevice = async function() {
return; return;
} }
const getDeviceResult = this.getDehydratedDevice(); const getDeviceResult = await this.getDehydratedDevice();
if (!getDeviceResult) { if (!getDeviceResult) {
return; return;
} }