RightPanel use room instead of roomId

This commit is contained in:
Michael Telatynski 2020-08-28 10:45:20 +01:00
parent 129b9459a3
commit 1479690ac4
2 changed files with 11 additions and 11 deletions

View file

@ -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", {