diff --git a/src/matrix/e2ee/RoomEncryption.js b/src/matrix/e2ee/RoomEncryption.js index 6d42c873..4dd6cd0b 100644 --- a/src/matrix/e2ee/RoomEncryption.js +++ b/src/matrix/e2ee/RoomEncryption.js @@ -222,7 +222,7 @@ export class RoomEncryption { } /** fetches the devices that are not yet known locally from the homeserver to verify the sender of this message. */ - _fetchKeyAndVerifyDecryptionResults(results, hsApi, log) { + async _fetchKeyAndVerifyDecryptionResults(results, hsApi, log) { const resultsWithoutDevice = results.filter(r => r.isVerificationUnknown); if (resultsWithoutDevice.length) { return log.wrap("fetch unverified senders", async log => {