psi icon indicating copy to clipboard operation
psi copied to clipboard

A port for the Matrix protocol

Open Tesla2k opened this issue 4 years ago • 9 comments

I know you will all call me crazy for this request... I would like to see PSI ported (or forked) to use Matrix instead of XMPP.

I am running a XMPP Server in a closed group. Everybody uses PSI as client (at least on the desktop). But having all the problems you have with XMPP (lost messages, not synced over several devices, no server side history). I have tried to solve these problems but have somehow given up. Then I tested Matrix and out of the box everything works as expectet!

I only prefere the PSI client much over the Element client and Element is missing a roster.

I don't expect that you will follow my suggestion, but maybe there is some interrest in this and we could start a fork.

Tesla2k avatar Dec 17 '21 14:12 Tesla2k

probably you have more problems in mind but those you mentioned are actually quote solvable and with less effort than porting to matrix. basically it's not a protocol problem but rather a lack of my spare time to implement all the recent protocol additions improving the work in unstable networks.

Ri0n avatar Dec 17 '21 15:12 Ri0n

Nevertheless I sometimes think about implementing a plugin which will emulate xmpp protocol connecting to some other networks in behind. Essentially same thing as https://spectrum.im does but just as a library.

Ri0n avatar Dec 17 '21 15:12 Ri0n

lost messages/not synced over several devices -> solved by message carbons (XEP-0280) no server side history -> solved by message archive management (XEP-0313)

It's not a matter of XMPP not supporting these features, it's just that Psi doesn't yet implement them.

devfonks avatar Jul 09 '22 17:07 devfonks

Thats the problem, it may all work if you have the right clients and server, but there are enought clients where is doesn't work and there is no single client for all platforms (win,linux,mac,ios,android) which you can tell the people to use. On every platform you need something different. Then I tried Matrix/Element and it just worked, but sadly lacking some other important features like multi account support and roster. So no real solution anywhere :)

Tesla2k avatar Sep 02 '22 20:09 Tesla2k

If you can code it, you can always add support for message carbons (XEP-0280) & message archive management (XEP-0313) yourself, then propose the resulting code be merged back into Psi. I'm sure @Ri0n and whoever else work on the project would appreciate the help. ;)

I know those functions are supported by blabber.im (a fork of Conversation, I think the original project does it too, but I'm not sure), Gajim (desktop) and Movim (a web-client that also support blogging via PubSub, A.K.A. XEP-0060). Other clients does it too, but I can't give you the list from memory.

And quite Frankly, I'm quite fond of Psi too and would like to see it integrate those functionalities, but I couldn't code if my life depended on it. (I plan on correcting that, but don't have the time right now, alas.)

Bigoukun avatar Jan 08 '23 13:01 Bigoukun

@Tesla2k: Can you edit the title of this ticket to have "Matrix"? Thanks in advance.

Neustradamus avatar May 03 '24 21:05 Neustradamus