1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-30 02:21:17 +03:00

Pass through config for Room Directory

This commit is contained in:
David Baker
2016-09-15 17:18:53 +01:00
parent 1899d61893
commit 44fa851275

View File

@ -1058,6 +1058,7 @@ module.exports = React.createClass({
case this.PageTypes.RoomDirectory: case this.PageTypes.RoomDirectory:
page_element = <RoomDirectory page_element = <RoomDirectory
collapsedRhs={ this.state.collapse_rhs } collapsedRhs={ this.state.collapse_rhs }
config={this.props.config.roomDirectory}
/> />
if (!this.state.collapse_rhs) right_panel = <RightPanel opacity={this.state.sideOpacity}/> if (!this.state.collapse_rhs) right_panel = <RightPanel opacity={this.state.sideOpacity}/>
break; break;