mirror of
https://github.com/ilyakooo0/urbit.git
synced 2025-01-05 22:03:50 +03:00
Merge pull request #3727 from urbit/la/fix-dms
interface: fix DM creation to give group permissions properly
This commit is contained in:
commit
a3c193fb38
@ -43,7 +43,6 @@ interface NewChannelProps {
|
||||
group?: string;
|
||||
}
|
||||
|
||||
const EMPTY_INVITE_POLICY = { invite: { pending: [] } };
|
||||
|
||||
export function NewChannel(props: NewChannelProps & RouteComponentProps) {
|
||||
const { history, api, group } = props;
|
||||
@ -64,7 +63,7 @@ export function NewChannel(props: NewChannelProps & RouteComponentProps) {
|
||||
description,
|
||||
appPath,
|
||||
groupPath,
|
||||
EMPTY_INVITE_POLICY,
|
||||
{ invite: { pending: ships.map((s) => `~${s}`) } },
|
||||
ships.map((s) => `~${s}`),
|
||||
true,
|
||||
false
|
||||
@ -87,7 +86,7 @@ export function NewChannel(props: NewChannelProps & RouteComponentProps) {
|
||||
resId,
|
||||
name,
|
||||
description,
|
||||
EMPTY_INVITE_POLICY,
|
||||
{ invite: { pending: ships.map((s) => `~${s}`) } },
|
||||
"link"
|
||||
);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user