From db2897cf1edf2085f2c83ce887f9ef022fbe3dbd Mon Sep 17 00:00:00 2001 From: David Baker Date: Wed, 31 Oct 2018 18:33:31 +0000 Subject: [PATCH] Remove spurious interlopers --- src/crypto/OlmDevice.js | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/crypto/OlmDevice.js b/src/crypto/OlmDevice.js index 0b763fc1c..d7f182881 100644 --- a/src/crypto/OlmDevice.js +++ b/src/crypto/OlmDevice.js @@ -81,17 +81,6 @@ function OlmDevice(sessionStore, cryptoStore) { this.deviceEd25519Key = null; this._maxOneTimeKeys = null; - // track which of our other devices (if any) have cross-signed this device - // XXX: this should probably have a single source of truth in the /devices - // API store or whatever we use to track our self-signed devices. - this.crossSelfSigs = []; - - // track whether we have already suggested to the user that they should - // restore their keys from backup or by cross-signing the device. - // We use this to avoid repeatedly emitting the suggestion event. - // XXX: persist this somewhere! - this.suggestedKeyRestore = false; - // we don't bother stashing outboundgroupsessions in the sessionstore - // instead we keep them here. this._outboundGroupSessionStore = {};