diff --git a/src/crypto/algorithms/olm.js b/src/crypto/algorithms/olm.js index b98dccde5..99fb64c29 100644 --- a/src/crypto/algorithms/olm.js +++ b/src/crypto/algorithms/olm.js @@ -64,7 +64,7 @@ OlmEncryption.prototype._ensureSession = function(roomMembers) { } const self = this; - this._prepPromise = self._crypto.downloadKeys(roomMembers, true).then(function(res) { + this._prepPromise = self._crypto.downloadKeys(roomMembers).then(function(res) { return self._crypto.ensureOlmSessionsForUsers(roomMembers); }).then(function() { self._sessionPrepared = true;