irssi-xmpp icon indicating copy to clipboard operation
irssi-xmpp copied to clipboard

Feature Request: Message Carbons and OMEMO

Open fschlich opened this issue 9 years ago • 19 comments

Now that everybody has a smartphone in addition to a more traditional computer, for example with Android and the excellent Conversations app, there are two things I miss in irssi-xmpp:

  1. Message Carbons (XEP-0280), so I get to log / follow / finish off a discussion I started on my mobile while on the move on a proper keyboard. This has been implemented by singpolyma, and seems to work fine for me so far: https://github.com/singpolyma/irssi-xmpp/commit/563b255bafa981c357a6cde940b177342b8032b5 (there's a lot of work on xmpp-pgp in that repo, which I haven't gotten around to use and test much apart from including it in the Debian package, but this one is a killer feature IMHO). This is probably as simple as a cherry-pick, and I'm happy to prepare a pull request if you prefer?

  2. OMEMO (https://conversations.im/omemo/), an adaptation of TestSecure's Axolotl for XMPP. There's https://github.com/WhisperSystems/libaxolotl-c that perhaps can be built upon, but I'm not sure any of the XMPP specifics have been implemented in C yet, and the XEPs are still in draft status. Nevertheless this would be an awesome thing to have!

fschlich avatar Jan 18 '16 15:01 fschlich

  1. The implementation of singpolyma looks good, but there is a few coding style fixes to do (to be coherent with the rest of the project) and the copyright header is missing.

  2. The XEP for OMEMO should not be too difficult to implement (https://conversations.im/xeps/multi-end.html). But irssi-xmpp is GPLv2 only and libaxolotl-c is GPLv3 only, so they are incompatible... irssi-xmpp needs to be relicensed to GPLv2 and above. This is not a problem, as I agree to relicense it, but this is time consuming. If someone is willing to implement such feature in irssi-xmpp, i'll move forward with the licensing.

cdidier avatar Jan 18 '16 16:01 cdidier

when you consider carbon copy maybe also consider MAM. there are already some implementations for servers and other clients.

darix avatar Feb 24 '16 21:02 darix

Omemo is official XEP-0384 since December 2016. You can check other implementation at https://omemo.top/

0xErnie avatar Jan 25 '17 11:01 0xErnie

Ping: carbon copy.

andreygursky avatar Jul 30 '17 06:07 andreygursky

@cdidier I will clean up my carbons to include a copyright header and submit a pull request soon :)

singpolyma-shopify avatar Aug 08 '17 11:08 singpolyma-shopify

Are there any plans to implement this feature?

hvhaugwitz avatar Jan 13 '18 21:01 hvhaugwitz

Any updates on this, my lovelies?

herbsmn avatar Jul 19 '18 01:07 herbsmn

There is irssi-otr but OMEMO support would be nice too. For channels fishlim implements the outdated blowfish cipher.

traumschule avatar Oct 07 '18 23:10 traumschule

Am I crazy or does this already happen (sometimes) for others?

I swear that it used to work for a while, I could see all messages in and out on all devices including irssi-xmpp - but again its not working.

(One more in the queue for an update...)

MalakymR avatar Feb 12 '19 16:02 MalakymR

I'd also love to see this implemented!

Is there any way we can help to move this forward?

duckdalbe avatar Feb 13 '19 15:02 duckdalbe

@MalakymR the official Debian package includes my patches to implement carbons (see #25) so maybe you were using that for awhile and that's why you had it?

singpolyma-shopify avatar Feb 13 '19 15:02 singpolyma-shopify

I compiled it myself some time back with various PR patches so it was probably that, and im using the arch -git package which may have had it at some point and then dropped it? Doesn't seem so.

Either way it looks like your work is what we want and I hope to see it included soon or an explanation of why not.

MalakymR avatar Feb 13 '19 16:02 MalakymR

Any news?

Neustradamus avatar Mar 30 '20 17:03 Neustradamus

two years ago I started some work on this in a fork of the pidgin module at https://github.com/ailin-nemui/lurch in case you feel like you can help

ailin-nemui avatar Mar 30 '20 17:03 ailin-nemui

@ailin-nemui: Nice! Can you compare with main lurch and create a PR with your improvements?

Neustradamus avatar Mar 30 '20 17:03 Neustradamus

that does not compute as irssi is not pidgin ;)

ailin-nemui avatar Mar 30 '20 17:03 ailin-nemui

Have you looked changes from https://github.com/gkdr/lurch/commits/master ? Since "Commits on Jun 6, 2018" :)

Neustradamus avatar Mar 30 '20 18:03 Neustradamus

lurch is for pidgin. my fork is a port of lurch from pidgin to irssi. That's why there are no changes to submit to gkdr. If anything, help would be needed to integrate updates from gkdr to my fork. Also my port is not finished/working yet and needs help. I already opened #52 but that's just a small part of getting all to work

ailin-nemui avatar Mar 30 '20 18:03 ailin-nemui

Yes I have requested you to add new from gkdr to your fork ^^

Neustradamus avatar Mar 30 '20 20:03 Neustradamus