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
@q @doesnm Sorry, I probably missed your reply because my server was offline.
I see that group outbox and moderators collection are now implemented correctly, that's nice. But I don't understand how to bridge a room to fedi.
I tried this: ;link group #mitra:unredacted.org
The bridge replied:
This room is already someone's linked Profile Room -- it can't also become a group. Run ";create group _mitra_unredacted.org" instead for a fresh room of its own.
When I executed the suggested command, a new room was created.
It sounds like you may have run it in your profile room? Did you run it in the room where your posts should go? A room can only be designated to one purpose at a time. `;link` is for linking existing rooms that aren't yet being used by the bridge
@q Is it possible to bridge an entire matrix room?