Make tests pass

This commit is contained in:
David Baker 2016-09-23 18:20:31 +01:00
parent 3938abc5dd
commit 51a5542446
1 changed files with 2 additions and 0 deletions

View File

@ -99,6 +99,8 @@ module.exports = React.createClass({
}, },
getMoreRooms: function() { getMoreRooms: function() {
if (!MatrixClientPeg.get()) return q();
const my_filter_string = this.filterString; const my_filter_string = this.filterString;
const opts = {limit: 20}; const opts = {limit: 20};
if (this.nextBatch) opts.since = this.nextBatch; if (this.nextBatch) opts.since = this.nextBatch;