1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-09-03 08:42:03 +03:00

Add pagination tests

This commit is contained in:
Kegan Dougal
2015-06-25 17:29:25 +01:00
parent 46d5c2bd61
commit f49234a772
3 changed files with 81 additions and 13 deletions

View File

@@ -825,7 +825,6 @@ MatrixClient.prototype.scrollback = function(room, limit, callback) {
};
var defer = q.defer();
this._http.authedRequest(callback, "GET", path, params).done(function(res) {
// res.chunk end start
room.addEventsToTimeline(
utils.map(res.chunk, _PojoToMatrixEventMapper), true
);