1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-08-10 21:23:02 +03:00

Start integrating end-to-end into the matrix-client. Add a storage class to store end-to-end sessions. Implement the one-time key upload API, and start sketching out the encryption and decryption functions

This commit is contained in:
Mark Haines
2015-07-16 18:21:25 +01:00
parent 8cb973e605
commit 2ee5977ad2
4 changed files with 429 additions and 14 deletions

View File

@@ -96,7 +96,7 @@ HttpBackend.prototype = {
console.log(" responding to %s", matchingReq.path);
var body = testResponse.body;
if (Object.prototype.toString.call(body) == "[object Function]") {
body = body();
body = body(req.path, req.data);
}
req.callback(
testResponse.err, testResponse.response, body