Changeset c8e03c6 in Klonkt for src/routes
- Timestamp:
- 07/29/2026 10:29:55 AM (6 weeks ago)
- Branches:
- main
- Children:
- 6d5ce0c
- Parents:
- 329873e
- File:
-
- 1 edited
-
src/routes/guardian.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/routes/guardian.js
r329873e rc8e03c6 516 516 // the proposal exists and a threshold of two can never be met. 517 517 if (r.state === 'open') { 518 const wardActor = AP.actorId(base, localWard.slug); 518 519 for (const g of Guardianship.listGuardians(localWard.slug).map((x) => x.other_uri)) { 519 520 if (g === me) continue; 520 AP.deliverToActor(site, g, { ...offer, to: [g] }).catch(() => { /* queued */ }); 521 // Signed by the ward, so the body must say the ward: anything else is 522 // a signer mismatch and the receiver answers 401 (as it should). 523 AP.deliverToActor( 524 db.prepare('SELECT * FROM sites WHERE slug = ?').get(localWard.slug), 525 g, 526 { ...offer, actor: wardActor, to: [g], 'shaer:proposer': me }, 527 ).catch(() => { /* queued */ }); 521 528 } 522 529 }
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)