Pre-populate create room dialog name when going from room directory
This commit is contained in:
parent
b3aade075d
commit
8b67cdb80b
3 changed files with 9 additions and 4 deletions
|
@ -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(),
|
||||
});
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue