From 2282f5c26f7fdae2d2b6d9c8c860fd41424f6a04 Mon Sep 17 00:00:00 2001 From: lukebarnard Date: Thu, 4 Jan 2018 14:19:10 +0000 Subject: [PATCH] Remove unused selectedRoom prop --- src/components/structures/LoggedInView.js | 1 - src/components/views/rooms/RoomList.js | 7 ------- 2 files changed, 8 deletions(-) diff --git a/src/components/structures/LoggedInView.js b/src/components/structures/LoggedInView.js index 38b7634edb..6f40aa559a 100644 --- a/src/components/structures/LoggedInView.js +++ b/src/components/structures/LoggedInView.js @@ -333,7 +333,6 @@ const LoggedInView = React.createClass({
{ SettingsStore.isFeatureEnabled("feature_tag_panel") ? :
} diff --git a/src/components/views/rooms/RoomList.js b/src/components/views/rooms/RoomList.js index f14ba5529d..40b2851dbd 100644 --- a/src/components/views/rooms/RoomList.js +++ b/src/components/views/rooms/RoomList.js @@ -660,7 +660,6 @@ module.exports = React.createClass({ editable={false} order="recent" isInvite={true} - selectedRoom={self.props.selectedRoom} incomingCall={self.state.incomingCall} collapsed={self.props.collapsed} searchFilter={self.props.searchFilter} @@ -674,7 +673,6 @@ module.exports = React.createClass({ emptyContent={this._getEmptyContent('m.favourite')} editable={true} order="manual" - selectedRoom={self.props.selectedRoom} incomingCall={self.state.incomingCall} collapsed={self.props.collapsed} searchFilter={self.props.searchFilter} @@ -688,7 +686,6 @@ module.exports = React.createClass({ headerItems={this._getHeaderItems('im.vector.fake.direct')} editable={true} order="recent" - selectedRoom={self.props.selectedRoom} incomingCall={self.state.incomingCall} collapsed={self.props.collapsed} alwaysShowHeader={true} @@ -702,7 +699,6 @@ module.exports = React.createClass({ emptyContent={this._getEmptyContent('im.vector.fake.recent')} headerItems={this._getHeaderItems('im.vector.fake.recent')} order="recent" - selectedRoom={self.props.selectedRoom} incomingCall={self.state.incomingCall} collapsed={self.props.collapsed} searchFilter={self.props.searchFilter} @@ -718,7 +714,6 @@ module.exports = React.createClass({ emptyContent={this._getEmptyContent(tagName)} editable={true} order="manual" - selectedRoom={self.props.selectedRoom} incomingCall={self.state.incomingCall} collapsed={self.props.collapsed} searchFilter={self.props.searchFilter} @@ -733,7 +728,6 @@ module.exports = React.createClass({ emptyContent={this._getEmptyContent('m.lowpriority')} editable={true} order="recent" - selectedRoom={self.props.selectedRoom} incomingCall={self.state.incomingCall} collapsed={self.props.collapsed} searchFilter={self.props.searchFilter} @@ -744,7 +738,6 @@ module.exports = React.createClass({ label={_t('Historical')} editable={false} order="recent" - selectedRoom={self.props.selectedRoom} collapsed={self.props.collapsed} alwaysShowHeader={true} startAsHidden={true}