mirror of
https://github.com/urbit/shrub.git
synced 2024-12-18 15:55:00 +03:00
chat-js: fixed group creation
This commit is contained in:
parent
5b1c3f3cca
commit
688f9c33a1
File diff suppressed because one or more lines are too long
@ -150,7 +150,7 @@ export class NewScreen extends Component {
|
||||
// we make a path of the form /~zod/cool-group
|
||||
// if not, we make a path of the form /~/~zod/free-chat
|
||||
let chatPath = `/~${window.ship}${station}`;
|
||||
if (!state.createGroup || state.groups.length === 0) {
|
||||
if (!state.createGroup && state.groups.length === 0) {
|
||||
chatPath = `/~${chatPath}`;
|
||||
}
|
||||
props.api.chatView.create(
|
||||
|
Loading…
Reference in New Issue
Block a user