1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-11-29 16:43:09 +03:00
This commit is contained in:
David Baker
2018-10-09 15:46:12 +01:00
parent 59e6066579
commit ada4b6ef16
4 changed files with 13 additions and 7 deletions

View File

@@ -974,7 +974,7 @@ Crypto.prototype._backupPayloadForSession = function(
exportFormat,
) {
// new session.
const session = new Olm.InboundGroupSession();
const session = new global.Olm.InboundGroupSession();
try {
if (exportFormat) {
session.import_session(sessionKey);