- Timestamp:
- 07/28/2026 10:45:26 AM (6 weeks ago)
- Branches:
- main
- Children:
- d9ad6c5
- Parents:
- 65abc85
- Location:
- src
- Files:
-
- 2 edited
-
routes/guardian.js (modified) (1 diff)
-
services/ActivityPubService.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/routes/guardian.js
r65abc85 r2708282 317 317 return res.json({ ok: true, allow, state: r.state, need: r.need, of: r.of }); 318 318 } 319 AP.deliverTo (site, uri, offer).catch(() => { /* queued, best-effort */ });319 AP.deliverToActor(site, uri, offer).catch(() => { /* queued, best-effort */ }); 320 320 res.json({ ok: true, allow, state: 'open', federated: true }); 321 321 }); -
src/services/ActivityPubService.js
r65abc85 r2708282 3647 3647 // { delivered, inbox }: delivered=false means the account could not be 3648 3648 // resolved at all (a bad handle) — the offer stays recorded regardless. 3649 async function deliverToActor(site, actorUri, activity) {3649 export async function deliverToActor(site, actorUri, activity) { 3650 3650 const me = selfActorId(site.slug); 3651 3651 const keys = getOrCreateKeys(site.slug); … … 3708 3708 getInteractions, getInteractionById, setInteractionBoosted, setInteractionLiked, setMyReaction, getMyReactions, buildReplyNote, getOutboxNote, deliverReply, resolveRemoteNote, 3709 3709 listOutbox, deliverOutboxDelete, deliverOutboxUpdate, deliverDirectNote, 3710 webfingerResolve, followActor, resolveRemoteActor, unfollowActor, listFollowing, setAutoBoost, backfillFromOutbox, getTimeline, timelineAttachments, timelineEmojis, timelineObjectLinks, timelineQuote, timelineEmbed, applyQuoteProps, sendInteraction, voteOnPoll, voteOnRemotePoll,3710 webfingerResolve, followActor, resolveRemoteActor, unfollowActor, listFollowing, setAutoBoost, backfillFromOutbox, getTimeline, timelineAttachments, timelineEmojis, timelineObjectLinks, timelineQuote, timelineEmbed, applyQuoteProps, deliverToActor, sendInteraction, voteOnPoll, voteOnRemotePoll, 3711 3711 acceptGatedFollow, rejectGatedFollow, isWardGuardian, sendFollowDecision, 3712 3712 parseOwnPoll, pollTally, ownPollView, deliverPollUpdate, maybeCrawlThread, sendReport, localMentionSlugs,
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)