1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-08 21:42:24 +03:00

make add room button go to create room dialog instead of room directory

This commit is contained in:
Bruno Windels
2019-09-10 11:59:59 +02:00
committed by David Baker
parent 0a31c2662a
commit b9421e4269
2 changed files with 1 additions and 12 deletions

View File

@@ -758,7 +758,7 @@ module.exports = React.createClass({
headerItems: this._getHeaderItems('im.vector.fake.recent'),
order: "recent",
incomingCall: incomingCallIfTaggedAs('im.vector.fake.recent'),
onAddRoom: () => {dis.dispatch({action: 'view_room_directory'})},
onAddRoom: () => {dis.dispatch({action: 'view_create_room'});},
},
];
const tagSubLists = Object.keys(this.state.lists)