Skip to content

fep-1b12 #152

Description

@MaddyUnderStars

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:

let attributedTo: string | undefined;
if (actor instanceof DMChannel || actor instanceof Guild)
attributedTo = makeInstanceUrl(getExternalPathFromActor(actor.owner));
else if (actor instanceof GuildTextChannel)
attributedTo = makeInstanceUrl(getExternalPathFromActor(actor.guild));

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingfederationActivitypub Federation related

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions