pass through selectedRoom

This commit is contained in:
Matthew Hodgson 2017-04-20 01:13:13 +01:00
parent 1803a0df9e
commit c1d30664de
1 changed files with 2 additions and 0 deletions

View File

@ -78,6 +78,7 @@ var RoomSubList = React.createClass({
collapsed: React.PropTypes.bool.isRequired, // is LeftPanel collapsed?
onHeaderClick: React.PropTypes.func,
alwaysShowHeader: React.PropTypes.bool,
selectedRoom: React.PropTypes.string,
incomingCall: React.PropTypes.object,
onShowMoreRooms: React.PropTypes.func,
searchFilter: React.PropTypes.string,
@ -379,6 +380,7 @@ var RoomSubList = React.createClass({
roomSubList={ self }
key={ room.roomId }
collapsed={ self.props.collapsed || false}
selectedRoom={ self.props.selectedRoom }
isInvite={ self.props.label === 'Invites' }
refreshSubList={ self._updateSubListCount }
incomingCall={ null }