You've already forked matrix-js-sdk
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user