diff options
author | Erik Johnston <erik@matrix.org> | 2014-08-26 16:29:44 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2014-08-26 16:29:44 +0100 |
commit | 8885c8546c3493ada2f00b1626d45fa90109ab5f (patch) | |
tree | 7dbe04a84413a4511bcc3ef62d227659052cefa7 /webclient/components | |
parent | Merge branch 'develop' of github.com:matrix-org/synapse into stream_refactor (diff) | |
parent | Respect 'limit' param in initialSync api (diff) | |
download | synapse-8885c8546c3493ada2f00b1626d45fa90109ab5f.tar.xz |
Merge branch 'develop' of github.com:matrix-org/synapse into stream_refactor
Diffstat (limited to 'webclient/components')
-rw-r--r-- | webclient/components/matrix/matrix-service.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/webclient/components/matrix/matrix-service.js b/webclient/components/matrix/matrix-service.js index 237dd6d8a0..fe5f120aaf 100644 --- a/webclient/components/matrix/matrix-service.js +++ b/webclient/components/matrix/matrix-service.js @@ -108,7 +108,7 @@ angular.module('matrixService', []) // List all rooms joined or been invited to rooms: function(from, to, limit) { // The REST path spec - var path = "/im/sync"; + var path = "/initialSync"; return doRequest("GET", path); }, @@ -217,13 +217,13 @@ angular.module('matrixService', []) // Like the cmd client, escape room ids room_id = encodeURIComponent(room_id); - var path = "/rooms/$room_id/members/list"; + var path = "/rooms/$room_id/members"; path = path.replace("$room_id", room_id); return doRequest("GET", path); }, paginateBackMessages: function(room_id, from_token, limit) { - var path = "/rooms/$room_id/messages/list"; + var path = "/rooms/$room_id/messages"; path = path.replace("$room_id", room_id); var params = { from: from_token, |