Ask / Submit
44

Let's (try to get someone else to) fix XMPP!

asked 2015-09-24 19:45:05 +0300

nthn gravatar image

updated 2015-09-25 03:54:29 +0300

peq gravatar image

Currently, XMPP doesn't really work very well on Sailfish OS. This is because the underlying software, Telepathy, is missing some features that are critical for a proper XMPP experience on mobile devices (but also on other devices in general). The most urgent features are:

  • XEP-0198: Stream Management - this makes sure you stay online if your connection is killed only briefly (like when you pass through a tunnel in the train).
  • XEP-0280: Message Carbons - this makes sure messages sent to a different client, such as your computer or even another Sailfish device, are synchronized with all your devices.
  • XEP-0313: Message Archive Management - this synchronizes your messages with the server, so you don't miss anything that was sent while you were offline.

For each of these features, there is a relevant upstream bug report: XEP-0198, XEP-0280 and XEP-0313. Unfortunately, it seems like there hasn't been much interest in implementing these features for a long time. Maybe we can spark interest by offering a handsome reward for the brave soul that digs through the Telepathy documentation and implements one, two or all of these features. Is there anyone who would be interested in creating a 'bounty' on a website like Bountysource in order to try and attract more attention to these issues? You can leave a comment with a yay/nay and the amount of money you'd want to throw at it, if you want.

A bonus: by fixing Telepathy, not only will XMPP work a lot better on Sailfish OS, but it will also let desktop applications that use Telepathy work better, such as Empathy or KDE Telepathy.

edit retag flag offensive close delete

Comments

3

I would throw in a couple of €.

Maldela ( 2015-09-25 02:13:12 +0300 )edit

As would I!

hook ( 2017-01-16 13:21:46 +0300 )edit

2 Answers

Sort by » oldest newest most voted
13

answered 2017-01-16 20:38:36 +0300

nthn gravatar image

Good news, everybody! If you go to the following link, you will find an installable RPM package, alongside source code and instructions on proper configuration, that gives XMPP on Sailfish Stream Management and Message Carbons:

http://devel.kondorgulasch.de/telepathy-gabble/

It's usable now, all thanks to Ferdinand Stehle!

edit flag offensive delete publish link more

Comments

2

Awesome!

It didn’t work for me (yet), but maybe I misunderstood the instructions or simply installing via the GUI didn’t actually replace the standard telepathy-gabble package.

It’d be great to see that in SailfishOS itself, or at least the OpenRepos! :D

hook ( 2017-01-16 21:43:06 +0300 )edit
3

Excellent. It would be really good to also have OTR, which has been available upstream for quite some time: https://together.jolla.com/question/1866/feature-request-xmpp-otr-support-in-messages/

ExTechOp ( 2017-01-17 10:25:41 +0300 )edit
2

Note that Telepathy has moved to Github just before the holidays. Why not turn this into pull requests and offer it there for review and inclusion: https://github.com/TelepathyIM/telepathy-gabble?

paulvt ( 2017-01-17 11:50:39 +0300 )edit

On a quick test of the Kondorgulasch telepathy-gabble-plus package I had more or less the same result as hook: Google seemed to work, but our corporate OpenFire-based xmpp didn't (little green light would not come on). Unfortunately, the error reporting in Sailfish is lacking, as I've complained before https://together.jolla.com/question/102762/more-reasonable-error-messages-for-account-errors/

ExTechOp ( 2017-01-17 12:30:08 +0300 )edit
2

ExTechOp, I’d actually much prefer OMEMO instead of OTR – it’s kinda what OTR tried to achieve in a hack-ish way, but done proper.

https://conversations.im/omemo/

hook ( 2017-01-17 17:52:31 +0300 )edit
8

answered 2015-09-24 20:30:33 +0300

r0kk3rz gravatar image

It looks like XEP-0198 has been implemented here but hasnt been accepted into upstream for some reason, maybe someone from Jolla has some contacts they can use?

edit flag offensive delete publish link more

Comments

1

Nice, now i only miss muc and otr :) thx for it

genofire ( 2016-04-15 10:30:37 +0300 )edit
1

XEP-0184 also would be nice. It's still there, the folks at jolla just need to make it visible in the UI. Seems there is nothing we can do. The only solution would be to build a new interface, which connects via dbus to the existing telepathy entity..

DLQ ( 2016-07-29 23:04:28 +0300 )edit

you mean like this? https://github.com/nemomobile/qmlmessages

r0kk3rz ( 2016-07-29 23:36:29 +0300 )edit

Hm, seems like we have to replace the entire old messaging-app https://git.merproject.org/mer-core/nemo-qml-plugin-messages/tree/master Am i wrong?

DLQ ( 2016-07-30 16:39:42 +0300 )edit
Login/Signup to Answer

Question tools

Follow
11 followers

Stats

Asked: 2015-09-24 19:45:05 +0300

Seen: 1,263 times

Last updated: Jan 16 '17