Enhancing the widget for [matrix-appservice-activitypub](https://github.com/Haven-Organization/matrix-appservice-activitypub) so it can fully function like an ActivityPub client. You'll be able to browse timelines from other instances (with sign-in if needed to view them), import posts into Matrix to interact with them, manage your Peertube channels and Lemmy communities, and every other function that previously relied on bot commands.
Yes. There's an admin level command to allow remote users, entire rooms, and entire homeservers to federate out to ActivityPub through the bridge.They'll go out through an ActivityPub ID minted on your domain
@q How rooms are federated? Are they FEP-1b12 groups?
FEP-1b12 groups are used for both Peertube Channels and Lemmy Communities. Both of these can be made and federate out the same as if you hosted them on Lemmy or Peertube. There's also Shoot guilds/channels for bridging to a Matrix room.
Here's my use case. I am a regular user of matrix-appservice-activitypub, not an admin. My matrix account is bridged, everything works as expected. But I also have a public matrix room. I want to bridge it to fediverse and participate in it from my fedi instance (which supports FEP-1b12).
- Matrix room: FEP-1b12 Group actor
- Message in a room: Note
- Join a room: Follow
This should be very similar to matrix-appservice-activitypub <-> shoot interop, except my software doesn't support guilds.
So this is similar in structure to a Lemmy community (type=Group actor), except instead of using type=Page for posts, we just use type=Note similar to a Person actor. This is something working in existing ActivityPub servers? Is what would be referred to as "Groups?" (the thing Pleroma devs never added but everyone wanted?)
@q Yes, basically a Lemmy community with Notes. I think Lemmy and other FEP-1b12 implementations should understand this. My server certainly will.
Then I want to take it further and bring some features that are already available in matrix (such as roles) to ActivityPub.
Is the intent to display and use this as a chatroom? So bridging a Matrix chatroom to an AP chatroom? Or is the intent to display it more like a Social Media group on both ends (where it's posts, but in a group)?
@q I think it's closer to a chatroom
@q On AP side, both chatrooms and social media groups are built on FEP-1b12. Currently there is no way to tell them apart, but this shouldn't be a problem, we can figure it out later.
Added FEP-1b12 groups to matrix-appservice-activitypub. Have the bridge admin enable bridge.groups_enabled in the config to turn them on. Controllable via both bot commands, and added a section for it in the room widget for managing them.
https://github.com/Haven-Organization/matrix-appservice-activitypub/blob/main/COMMANDS.md#groups
@q Thanks! I'm testing @test\_group@glowers.club now. There are a few issues with the implementation:
- Group.attributedTo points to an actor. In FEP-1b12, attributedTo points to a collection (what they call a moderator list). Your implementation resembles Shoot where group is attributed to a guild, which is attributed to a person, but I think that most FEP-1b12 implementations will not be able to parse that.
- The outbox collection of the group contains Create<Note> and Announce<Note> activities, but it should contain Announce<Activity> activities (see https://codeberg.org/fediverse/fep/src/branch/main/fep/1b12/fep-1b12.md#the-announce-activity).
Also, I have a question about managing groups from the matrix side.
- What is the difference between ;create community and ;create group? Both seem to create a FEP-1b12 group actor.
- ;link group description says that the change is not reversible ("A lasting change to what the room IS"). What does that mean? If I make a group out of a matrix room, will that affect existing room members?
cc @doesnm
Fixing Group.aatributedto and the Announce. The difference between ;create community and ';create group' is that community is for Lemmy-shaped communities ((title-split into Page, comment-tree replies, real moderator collection/bans). Group = flat chat (every message a Note, no moderation concept at all, since FEP-1b12 doesn't define one)
;link group means that tying the room to the group's identity is not reversible. There is currently no way to unlink them and relink the group to another room right now. I can add it, but manually unlinking and linking have to be done with care since you can leave things in a half-finished or broken state (i.e. you can unlink and forget to link or link to a room that doesn't make sense to use)
@q Is it possible to bridge an entire matrix room?