mirror of
https://github.com/element-hq/element-web
synced 2024-11-24 02:05:45 +03:00
Moving the drirect messages above rooms
This commit is contained in:
parent
434115ccda
commit
edb7301b37
1 changed files with 7 additions and 7 deletions
|
@ -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 }
|
||||||
|
|
Loading…
Reference in a new issue