Pre-populate create room dialog name when going from room directory

This commit is contained in:
Michael Telatynski 2021-05-19 19:20:58 +01:00
parent b3aade075d
commit 8b67cdb80b
3 changed files with 9 additions and 4 deletions

View file

@ -462,6 +462,7 @@ export default class RoomDirectory extends React.Component<IProps, IState> {
dis.dispatch({
action: 'view_create_room',
public: true,
defaultName: this.state.filterString.trim(),
});
};