Changeset 31680c3 in Klonkt for src/services/ap-inbox.js
- Timestamp:
- 09/30/2026 08:39:24 AM (3 hours ago)
- Branches:
- main
- Children:
- 746d98a
- Parents:
- 76bd53c
- File:
-
- 1 edited
-
src/services/ap-inbox.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/services/ap-inbox.js
r76bd53c r31680c3 29 29 import { parsePoll, recordPollBallot } from './ap-polls.js'; 30 30 import { fwStmts } from './ap-following.js'; 31 import * as HubInvite from './hub-invite.js'; 31 32 32 33 /** … … 559 560 // Wards vallen hier nooit: de guardianpoort hierboven gaat vóór. 560 561 const ownerGate = db.prepare('SELECT approve_followers FROM sites WHERE slug = ?').get(slug); 561 if (ownerGate && ownerGate.approve_followers) { 562 // Behalve als de eigenaar dat ja al gaf: [Add to HUB] op /connect geldt 563 // een dag als toestemming voor een Follow van de hub. Alleen als de hub 564 // hem ZELF ondertekende. Zie services/hub-invite.js. 565 const alGoedgekeurd = !!(verified && verified.id === who && HubInvite.isInvited(slug, who)); 566 if (alGoedgekeurd) console.log('[AP] Follow', who, '→', slug, '(pre-approved via Add to HUB)'); 567 if (ownerGate && ownerGate.approve_followers && !alGoedgekeurd) { 562 568 const followId = (typeof act.id === 'string' && act.id) || `${who}#follow-${Date.now()}-${rid()}`; 563 569 Guardianship.follows.recordPending(slug, {
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)