assemblee-virtuelle / assemblee-virtuelle/semapps

AP: Support collections other than followers as recipients.

Open
#1,271 0 comments 0 reactions 0 assignees View on GitHub
activitypub
Dominant language
TypeScript
Stars
103
Forks
14
Avg merge
1m
Merged PRs (30d)
2

Description

**Issue**
Currently, activities can only be addressed to individual actors or to the followers collection. Other collections, like the `apods:contacts` are not resolved.

https://github.com/assemblee-virtuelle/semapps/blob/master/src/middleware/packages/activitypub/services/activitypub/subservices/activity.js#L49-L59

**Components affected**
SemApps ActivityPub package.

**Proposal**
Support resolving arbitrary collections of actors, as long as they are in the actor's pod.

Contributor guide

No contributing guide indexed for this repository

Research direction

The relevant entry point is src/middleware/packages/activitypub/services/activitypub/subservices/activity.js#L49-L59; start by tracing how followers and other recipients are currently resolved. Confirm the behavior for pod-local collections such as apods:contacts; done means arbitrary collections of actors in the actor's pod are resolved as recipients.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js, typescript
Domain
api, backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.