1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2026-01-03 23:22:30 +03:00

Bug fixes

This commit is contained in:
Kegan Dougal
2015-05-12 14:29:42 +01:00
parent 4a7f2d2eaf
commit 8853ad9601
2 changed files with 3 additions and 3 deletions

View File

@@ -100,7 +100,7 @@ var init = function(exports){
);
},
getStateEvent: function(roomId, eventType, stateKey) {
getStateEvent: function(roomId, eventType, stateKey, callback) {
var pathParams = {
$roomId: roomId,
$eventType: eventType,
@@ -111,7 +111,7 @@ var init = function(exports){
path = encodeUri(path + "/$stateKey", pathParams);
}
return this._doAuthedRequest(
callback, "GET", path, undefined, content
callback, "GET", path
);
},

View File

@@ -1,6 +1,6 @@
{
"name": "matrix-js-sdk",
"version": "0.0.3",
"version": "0.0.4",
"description": "Matrix Client-Server SDK for Javascript",
"main": "index.js",
"scripts": {