mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-14 17:41:33 +03:00
groups: properly check and await notebook join
This commit is contained in:
parent
aaf3cbee23
commit
29ae4fa54b
@ -31,7 +31,7 @@ function isJoined(app: string, path: string) {
|
||||
return props.graphKeys.has(path);
|
||||
case "publish":
|
||||
[, ship, name] = path.split("/");
|
||||
return !!props.notebooks[ship.slice(1)][name];
|
||||
return !!props.notebooks[ship]?.[name];
|
||||
case "chat":
|
||||
return !!props.inbox[path];
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user