Changeset 4f15f67 in Klonkt
- Timestamp:
- 07/25/2026 09:35:10 AM (7 weeks ago)
- Branches:
- main
- Children:
- 0a686a0
- Parents:
- 2b4252c
- File:
-
- 1 edited
-
src/services/ActivityPubService.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/services/ActivityPubService.js
r2b4252c r4f15f67 158 158 const id = actorId(base, site.slug); 159 159 const keys = getOrCreateKeys(site.slug); 160 // FEP-633c §5.3: a ward's follows are gated (guardians approve), so the actor 161 // MUST advertise manuallyApprovesFollowers:true — otherwise a follower's server 162 // (Mastodon) assumes auto-accept and shows "Following" while we hold it pending. 163 const isWard = (() => { try { return Guardianship.listGuardians(site.slug).length > 0; } catch { return false; } })(); 160 164 const actor = { 161 165 '@context': AP_CONTEXT, … … 166 170 summary: site.tagline || site.description || '', 167 171 url: `${base}/${site.slug === site.primary_slug ? '' : 'user/' + encodeURIComponent(site.slug)}`, 168 manuallyApprovesFollowers: false,172 manuallyApprovesFollowers: isWard, 169 173 discoverable: true, 170 174 inbox: `${id}/inbox`,
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)