I would bet my left hand that it’s possible, but is it feasible to use Matrix for the messaging? Or is this simply out the scope for the project?

  • Maya
    link
    fedilink
    133 years ago

    So the protocol is way, way different and massively out of scope to actually reimplement, so it would never make sense to have chugging along within the Lemmy backend server itself.

    However, embedding Matrix rooms in webpages is something the Matrix devs want to make more straightforward (Gitter does this nicely and they’re shooting to subsume all of its functionality) so it’s not too hard to imagine some kind of integration with a. a separate Matrix server that gives permissions to b. a Matrix bot to manage creation of new rooms c. UI extensions to show this alongside communities.

    However!

    Lemmy is deceptively shiny and awesome, but there’s still a lot of way more high-priority stuff that needs doing before this kind of huge feature extension is even discussed seriously, so the devs need to focus on that kind of thing.

    Once the Element devs get embedded rooms a bit further down the road, this seems like a really doable project for a motivated Lemmy user to try adding on, though!

  • @SloppilyFloss@lemmy.ml
    link
    fedilink
    9
    edit-2
    3 years ago

    It would probably be possible to embed a Matrix client into a Lemmy instance by way of Hydrogen Web or https://cactus.chat, but automatically giving each Lemmy instance user their own Matrix account tied to their Lemmy account would be much harder and would require hosting an entire Matrix instance alongside Lemmy.

    • ghost_laptop
      link
      fedilink
      43 years ago

      maybe thats not necessary, perhaps something like granting your matrix account acess to the lemmy website and then it would obly connect to the servers without the need of having to host an instance

      • @salarua@sopuli.xyz
        link
        fedilink
        53 years ago

        the problem is Lemmy works on a different protocol. Matrix clients can’t handle ActivityPub data.

    • [deleted]OP
      link
      fedilink
      13 years ago

      I was thinking more of a solution with cactus chat. I don’t know how much work it would be to tie that into a PM system but it would be cool to be able to message people on Matrix without leaving the site!

  • poVoq
    link
    fedilink
    63 years ago

    With XMPP this would be relatively easy by adding a project like ConverseJS or JSXC to lemmy-ui. Basically something that can be done right now with minimal code changes.

    However maybe it would be interesting to add a simple addon system to Lemmy?

    • @Echedenyan@lemmy.ml
      link
      fedilink
      13 years ago

      Please, ConverseJS no. Anything but not that.

      I have suffered the bad rendering and delays in many instances in last version in Firefox ESR and UXP-based browsers.

      It is a complete nightmare.

  • @salarua@sopuli.xyz
    link
    fedilink
    6
    edit-2
    3 years ago

    already implemented. if you add your Matrix address in your user profile, other users will see a button to contact you via Matrix

    • [deleted]OP
      link
      fedilink
      33 years ago

      This is just a link, I’m thinking about making a UI within Lemmy itself to chat using Matrix.

      • @kevincox@lemmy.ml
        link
        fedilink
        73 years ago

        To be frank I don’t see the advantage here. A project dedicated to making a good chat client will almost certianly make a better tool than lemmy trying to make a discussion form. It seems much better to keep the two features separate and let each project focus on itself.

      • @salarua@sopuli.xyz
        link
        fedilink
        63 years ago

        i think that even if the developers had the time and resources to do that, they would consider it out of scope. there’s no reason alternative clients can’t do it though