diff --git a/src/components/structures/RoomDirectory.js b/src/components/structures/RoomDirectory.js
index ca698e52c..26ca85863 100644
--- a/src/components/structures/RoomDirectory.js
+++ b/src/components/structures/RoomDirectory.js
@@ -554,24 +554,29 @@ module.exports = React.createClass({
;
} else {
const rows = this.getRows();
+ // we still show the scrollpanel, at least for now, because
+ // otherwise we don't fetch more because we don't get a fill
+ // request from the scrollpanel because there isn't one
+ let scrollpanel_content;
if (rows.length == 0) {
- content = No rooms to show;
+ scrollpanel_content = No rooms to show;
} else {
- const ScrollPanel = sdk.getComponent("structures.ScrollPanel");
- content =
-
- { this.getRows() }
-
-
-