From a64fe23de95f1495a831a1595b398fdd6149097e Mon Sep 17 00:00:00 2001 From: Christophe Besson Date: Thu, 1 Oct 2026 15:49:42 +0200 Subject: 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 --- packages/meshbay-client/src/main.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'packages/meshbay-client') 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') }], -- cgit v1.2.3