diff --git a/src/components/structures/RoomSubList.js b/src/components/structures/RoomSubList.js index 73e2aeba6..8fb7562f6 100644 --- a/src/components/structures/RoomSubList.js +++ b/src/components/structures/RoomSubList.js @@ -536,7 +536,7 @@ var RoomSubList = React.createClass({ var label = this.props.collapsed ? null : this.props.label; let content; - if (this.state.sortedList.length == 0 && !this.props.searchFilter && !this.props.extraTiles) { + if (this.state.sortedList.length === 0 && !this.props.searchFilter && this.props.extraTiles.length === 0) { content = this.props.emptyContent; } else { content = this.makeRoomTiles();