RightPanel use room instead of roomId
This commit is contained in:
parent
129b9459a3
commit
1479690ac4
2 changed files with 11 additions and 11 deletions
|
@ -2064,7 +2064,7 @@ export default createReactClass({
|
|||
|
||||
const showRightPanel = !forceHideRightPanel && this.state.room && this.state.showRightPanel;
|
||||
const rightPanel = showRightPanel
|
||||
? <RightPanel roomId={this.state.room.roomId} resizeNotifier={this.props.resizeNotifier} />
|
||||
? <RightPanel room={this.state.room} resizeNotifier={this.props.resizeNotifier} />
|
||||
: null;
|
||||
|
||||
const timelineClasses = classNames("mx_RoomView_timeline", {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue