diff --git a/src/client.js b/src/client.js index f845a5a08..f344bce87 100644 --- a/src/client.js +++ b/src/client.js @@ -500,7 +500,7 @@ MatrixClient.prototype.rehydrateDevice = async function() { return; } - const getDeviceResult = this.getDehydratedDevice(); + const getDeviceResult = await this.getDehydratedDevice(); if (!getDeviceResult) { return; }