Skip to content

Commit 51a5542

Browse files
committed
Make tests pass
1 parent 3938abc commit 51a5542

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎src/components/structures/RoomDirectory.js‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,8 @@ module.exports = React.createClass({
9999
},
100100

101101
getMoreRooms: function() {
102+
if (!MatrixClientPeg.get()) return q();
103+
102104
const my_filter_string = this.filterString;
103105
const opts = {limit: 20};
104106
if (this.nextBatch) opts.since = this.nextBatch;

0 commit comments

Comments
 (0)