Moving the drirect messages above rooms

This commit is contained in:
wmwragg 2016-08-22 14:10:51 +01:00
parent 434115ccda
commit edb7301b37

View file

@ -341,10 +341,9 @@ module.exports = React.createClass({
searchFilter={ self.props.searchFilter } searchFilter={ self.props.searchFilter }
onShowMoreRooms={ self.onShowMoreRooms } /> onShowMoreRooms={ self.onShowMoreRooms } />
<RoomSubList list={ self.state.lists['im.vector.fake.recent'] } <RoomSubList list={ self.state.lists['im.vector.fake.direct'] }
label="Rooms" label="Direct Messages"
editable={ true } editable={ false }
verb="restore"
order="recent" order="recent"
selectedRoom={ self.props.selectedRoom } selectedRoom={ self.props.selectedRoom }
incomingCall={ self.state.incomingCall } incomingCall={ self.state.incomingCall }
@ -352,9 +351,10 @@ module.exports = React.createClass({
searchFilter={ self.props.searchFilter } searchFilter={ self.props.searchFilter }
onShowMoreRooms={ self.onShowMoreRooms } /> onShowMoreRooms={ self.onShowMoreRooms } />
<RoomSubList list={ self.state.lists['im.vector.fake.direct'] } <RoomSubList list={ self.state.lists['im.vector.fake.recent'] }
label="Direct Messages" label="Rooms"
editable={ false } editable={ true }
verb="restore"
order="recent" order="recent"
selectedRoom={ self.props.selectedRoom } selectedRoom={ self.props.selectedRoom }
incomingCall={ self.state.incomingCall } incomingCall={ self.state.incomingCall }