You've already forked matrix-js-sdk
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:
@@ -500,7 +500,7 @@ MatrixClient.prototype.rehydrateDevice = async function() {
|
||||
return;
|
||||
}
|
||||
|
||||
const getDeviceResult = this.getDehydratedDevice();
|
||||
const getDeviceResult = await this.getDehydratedDevice();
|
||||
if (!getDeviceResult) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user