1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-11-26 17:03:12 +03:00

Olm session creation async

This commit is contained in:
Richard van der Hoff
2017-08-10 15:01:56 +01:00
parent 7d2bc12bb7
commit e52985e082
3 changed files with 4 additions and 4 deletions

View File

@@ -298,7 +298,7 @@ OlmDecryption.prototype._decryptMessage = async function(
let res;
try {
res = this._olmDevice.createInboundSession(
res = await this._olmDevice.createInboundSession(
theirDeviceIdentityKey, message.type, message.body,
);
} catch (e) {