Matrix protocol for chat

I know this is far beyond MVP, but it’s also something that’d be nice to think about early. Discourse currently has rudimentary Matrix integration in the discourse-chat-integration plugin, but it’d be amazing if the Discourse rooms were Matrix rooms and users associated with matrix accounts.

Then, rather than a bridge, we could just alias #fedora:fedoraproject.org (our existing matrix main channel) to #discussion:discussion.fedoraproject.org (theoretical Discourse chat room). This would be more seamless than a bridge, and, crucially, I wouldn’t have yet another instant message platform.

And, while I’m happy with Element, I wouldn’t mind having another vendor for Matrix services!

9 Likes

I can definitely see the appeal here! However, one of the main things that Discourse Chat brings to the table is integration between the ‘slow lane’ (topics) and the ‘fast lane’ (chat). If people were using non-discourse Matrix clients to access the fast-lane, would they be less inclined to switch to the slow-lane? :thinking:

8 Likes

Maybe not… but on the other hand… more likely than in the alternative scenario, which is: we have the slow lane at discussion.fedoraproject.org (discourse) and the fast lane at a whole different place chat.fedoraproject.org (matrix). At least this way they’re closer.

And, at least the Element client understands things like markdown (Including hyperlinks), so cross-connecting at least in web-capable clients wouldn’t be so bad.

10 Likes

Given where we are today I am certainly not against this, maybe this is even a plugin we could sponsor. It has popped up quite a few times now and it is free publicity for discourse chat.

14 Likes

Matrix support would awesome! Because Matrix is an open standard, federated, open source solution with all the bells and whistles you need. If Chat can connect to Matrix, you would “only” need to develop a Matrix compatible solution and leave the message infrastructure to Matrix. Allowing Discourse to focus more on forums while including chat as a built-in solution.

1 Like

Would it be feasible to bridge or federate Discourse instances using Matrix? Federated forums would be amazing.

ActivityPub may be more suitable for that. But that’s another topic to discuss :slight_smile:

It is, over here in fact:

1 Like