You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-11-26 17:03:12 +03:00
er, this isn't an object
This commit is contained in:
@@ -927,7 +927,7 @@ MegolmDecryption.prototype._buildKeyForwardingMessage = async function(
|
|||||||
* @param {module:crypto/OlmDevice.MegolmSessionData} session
|
* @param {module:crypto/OlmDevice.MegolmSessionData} session
|
||||||
*/
|
*/
|
||||||
MegolmDecryption.prototype.importRoomKey = function(session) {
|
MegolmDecryption.prototype.importRoomKey = function(session) {
|
||||||
return this._olmDevice.addInboundGroupSession({
|
return this._olmDevice.addInboundGroupSession(
|
||||||
session.room_id,
|
session.room_id,
|
||||||
session.sender_key,
|
session.sender_key,
|
||||||
session.forwarding_curve25519_key_chain,
|
session.forwarding_curve25519_key_chain,
|
||||||
@@ -935,7 +935,7 @@ MegolmDecryption.prototype.importRoomKey = function(session) {
|
|||||||
session.session_key,
|
session.session_key,
|
||||||
session.sender_claimed_keys,
|
session.sender_claimed_keys,
|
||||||
true,
|
true,
|
||||||
}).then(() => {
|
).then(() => {
|
||||||
// have another go at decrypting events sent with this session.
|
// have another go at decrypting events sent with this session.
|
||||||
this._retryDecryption(session.sender_key, session.session_id);
|
this._retryDecryption(session.sender_key, session.session_id);
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user