summaryrefslogtreecommitdiffstats
path: root/packages/meshbay-client/src/main.js
diff options
context:
space:
mode:
authorChristophe Besson <cbesson@gmail.com>2026-10-01 15:49:42 +0200
committerChristophe Besson <cbesson@gmail.com>2026-10-01 15:49:42 +0200
commita64fe23de95f1495a831a1595b398fdd6149097e (patch)
tree722fc572eb7d8513cec66f5ddfe42b79aab95056 /packages/meshbay-client/src/main.js
parent7ca80a47dd8ff529951f59ef586c511e4debb057 (diff)
downloadmeshbay-a64fe23de95f1495a831a1595b398fdd6149097e.tar.gz
fix(client): hosting a group asks nothing when its folder came from the picker
The folder chosen in the native picker is the consent; the dialog that followed on every group creation asked the same thing twice. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'packages/meshbay-client/src/main.js')
-rw-r--r--packages/meshbay-client/src/main.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/packages/meshbay-client/src/main.js b/packages/meshbay-client/src/main.js
index 52ca168..dba40b4 100644
--- a/packages/meshbay-client/src/main.js
+++ b/packages/meshbay-client/src/main.js
@@ -2205,8 +2205,7 @@ function registerBridge() {
// The person's choice on the creation form; the node never
// takes it from the hub.
join_policy: a.joinPolicy === 'open' ? 'open' : 'invite' };
- await confirmOrRefuse('native.attach_confirm',
- { name: body.name, path: body.shared_dir });
+ await confirmFolder(body.shared_dir);
return ['POST', '/api/groups/attach', body];
},
detachGroup: (a) => ['POST', '/api/groups/detach', { name: aText(a.name, 'the group name') }],