diff --git a/pkg/interface/chat/src/js/components/new.js b/pkg/interface/chat/src/js/components/new.js index 22661c5ed7..8a76ef52ec 100644 --- a/pkg/interface/chat/src/js/components/new.js +++ b/pkg/interface/chat/src/js/components/new.js @@ -95,6 +95,7 @@ export class NewScreen extends Component { onClickCreate() { const { props, state } = this; + let grouped = (this.state.createGroup || (this.state.groups.length > 0)); if (!state.title) { this.setState({ @@ -104,7 +105,7 @@ export class NewScreen extends Component { return; } - let station = `/${state.idName}`; + let station = `/${state.idName}` + (grouped ? `-${Math.floor(Math.random() * 10000)}` : ""); if (station in props.inbox) { this.setState({