1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-12-04 05:02:41 +03:00

Remove unused stuff & comments

This commit is contained in:
David Baker
2018-11-05 09:39:46 +00:00
parent ec8b3ae515
commit ff4125c11e

View File

@@ -33,8 +33,6 @@ function makeOlmDevice() {
const sessionStore = new WebStorageSessionStore(mockStorage);
const cryptoStore = new MemoryCryptoStore(mockStorage);
const olmDevice = new OlmDevice(sessionStore, cryptoStore);
// expose for tests
olmDevice.__cryptoStore = cryptoStore;
return olmDevice;
}
@@ -72,8 +70,6 @@ describe("OlmDecryption", function() {
describe('olm', function() {
it("can decrypt messages", async function() {
const sid = await setupSession(aliceOlmDevice, bobOlmDevice);
//console.log("alice id key: " + aliceOlmDevice.deviceCurve25519Key);
//console.log("bob id key: " + bobOlmDevice.deviceCurve25519Key);
const ciphertext = await aliceOlmDevice.encryptMessage(
bobOlmDevice.deviceCurve25519Key,