mirror of
https://github.com/urbit/shrub.git
synced 2025-01-03 01:54:43 +03:00
change fe to create full group path
This commit is contained in:
parent
6fb731b5c1
commit
ff4db6786d
@ -145,9 +145,16 @@ export class NewScreen extends Component {
|
||||
}
|
||||
}, () => {
|
||||
props.setSpinner(true);
|
||||
// we append the ship name here instead of on the back end
|
||||
// if we want a group-channel, we do /~zod/cool-group
|
||||
// if not (DMs) we do /~/~zod/free-chat
|
||||
// this latter should toggle off of a UI affordance that is not here at present
|
||||
props.api.chatView.create(
|
||||
station, state.security, readAud, writeAud, state.allowHistory
|
||||
`/~${window.ship}${station}`, state.security, readAud, writeAud, state.allowHistory
|
||||
);
|
||||
// this should also be slightly altered to accomodate sending invites to a pre-existing group
|
||||
// perhaps better just to do this on back end
|
||||
// this latter should toggle off of a UI affordance that is not here at present (in designs, though)
|
||||
aud.forEach((ship) => {
|
||||
if (ship !== `~${window.ship}`) {
|
||||
props.api.invite.invite(station, ship);
|
||||
|
Loading…
Reference in New Issue
Block a user