MaddyUnderStars / MaddyUnderStars/shoot
fep-1b12
- Dominant language
- TypeScript
- Stars
- 61
- Forks
- 5
- Avg merge
- 3d 10h
- Merged PRs (30d)
- 1
Description
> There is a difference between Shoot and FEP-1b12. In FEP-1b12, `attributedTo` is a collection, while in Shoot it is a single actor.
https://codeberg.org/fediverse/fep/src/branch/main/fep/1b12/fep-1b12.md#group-moderation
guild channels should reference their guild in the `context` property (#141) and therefore the `attributedTo` field can be left to be how it's described in 1b12
group dm channels should have no context and have attributedTo be the list of members, since they are all moderators in their own group chat
for normal dms, there's no channel so it doesn't matter
it's defined here: https://github.com/MaddyUnderStars/shoot/blob/94cf6ff9d6b3c6a8958b31f650252f08fba4ad00/src/util/activitypub/transformers/actor.ts#L41-L45
Contributor guide
No contributing guide indexed for this repository
Research direction
Start in src/util/activitypub/transformers/actor.ts around lines 41-45 and compare the current actor transformation with the linked FEP-1b12 group-moderation rules. Trace the guild and group-DM channel transformations, then verify that guild channels use context and group DMs represent their members through attributedTo as described.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- backend-api-design
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100