mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-14 17:41:33 +03:00
Merge pull request #4566 from urbit/lf/group-invites
Invites: accept already joined group
This commit is contained in:
commit
f1dc011aae
@ -44,6 +44,10 @@ export function InviteItem(props: InviteItemProps) {
|
||||
if (!(app && invite && uid)) {
|
||||
return;
|
||||
}
|
||||
if(resource in props.groups) {
|
||||
await api.invite.decline(app, uid);
|
||||
return;
|
||||
}
|
||||
|
||||
api.groups.join(ship, name);
|
||||
await waiter(p => resource in p.pendingJoin);
|
||||
|
Loading…
Reference in New Issue
Block a user