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

make algorithm.hasKeysForKeyRequest async

This commit is contained in:
Richard van der Hoff
2017-07-26 08:04:46 +01:00
parent d821082843
commit 18f75ec61c
4 changed files with 26 additions and 21 deletions

View File

@@ -719,7 +719,7 @@ MegolmDecryption.prototype.onRoomKeyEvent = function(event) {
/**
* @inheritdoc
*/
MegolmDecryption.prototype.hasKeysForKeyRequest = function(keyRequest) {
MegolmDecryption.prototype.hasKeysForKeyRequest = async function(keyRequest) {
const body = keyRequest.requestBody;
return this._olmDevice.hasInboundSessionKeys(