diff --git a/package.json b/package.json index b10b097c..4bf5046c 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,7 @@ "extract-text-webpack-plugin": "^0.9.1", "filesize": "^3.1.2", "flux": "~2.0.3", - "gemini-scrollbar": "matrix-org/gemini-scrollbar#7dc736d", + "gemini-scrollbar": "matrix-org/gemini-scrollbar#87ebaa7", "gfm.css": "^1.1.1", "highlight.js": "^9.0.0", "linkifyjs": "^2.0.0-beta.4", @@ -49,7 +49,7 @@ "react-dnd": "^2.1.4", "react-dnd-html5-backend": "^2.1.2", "react-dom": "^15.0.1", - "react-gemini-scrollbar": "matrix-org/react-gemini-scrollbar#4707b88", + "react-gemini-scrollbar": "matrix-org/react-gemini-scrollbar#6f5336c", "sanitize-html": "^1.11.1" }, "devDependencies": { diff --git a/src/components/structures/RoomDirectory.js b/src/components/structures/RoomDirectory.js index a4a5670d..d7808230 100644 --- a/src/components/structures/RoomDirectory.js +++ b/src/components/structures/RoomDirectory.js @@ -129,8 +129,8 @@ module.exports = React.createClass({ var rooms = this.state.publicRooms.filter(function(a) { // FIXME: if incrementally typing, keep narrowing down the search set // incrementally rather than starting over each time. - return (((a.name && a.name.toLowerCase().search(filter.toLowerCase()) >= 0) || - (a.aliases && a.aliases[0].toLowerCase().search(filter.toLowerCase()) >= 0)) && + return (((a.name && a.name.toLowerCase().search(filter.toLowerCase()) >= 0) || + (a.aliases && a.aliases[0].toLowerCase().search(filter.toLowerCase()) >= 0)) && a.num_joined_members > 0); }).sort(function(a,b) { return a.num_joined_members - b.num_joined_members; @@ -213,7 +213,8 @@ module.exports = React.createClass({
- + { this.getRows(this.state.roomAlias) } @@ -225,4 +226,3 @@ module.exports = React.createClass({ ); } }); -