diff options
| author | Christophe Besson <cbesson@gmail.com> | 2026-10-01 15:49:42 +0200 |
|---|---|---|
| committer | Christophe Besson <cbesson@gmail.com> | 2026-10-01 15:49:42 +0200 |
| commit | a64fe23de95f1495a831a1595b398fdd6149097e (patch) | |
| tree | 722fc572eb7d8513cec66f5ddfe42b79aab95056 /packages/meshbay-client | |
| parent | 7ca80a47dd8ff529951f59ef586c511e4debb057 (diff) | |
| download | meshbay-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')
| -rw-r--r-- | packages/meshbay-client/src/main.js | 3 |
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') }], |