XMPP in Sailfish, how to start?

Questions from a total XMPP-noob:
I see that it is possible to set up an xmpp-account in Sailfish. I did this since I can log in with my mail credentials (my mail provider offers an xmpp-server). My xmpp-account now appears in the Sailfish account section next to my Jolla- and mail-accounts.
What happens next? I have no clue how to make use of that now.

Which app does Sailfish use for chat via xmpp? Is it automatically integrated somewhere when the account has been added to Sailfish? How to handle contacts? Or plainly: How can I send a message to someone?

3 Likes

https://openrepos.net/content/schorsch/shmoose

3 Likes

Thanks. What is the point of the Sailfish xmpp-account then? I have to log into xmpp again when installing shmoose.

3 Likes

To chat with xmpp, Sailfish uses the same app as for SMS and MMS: messages.
However, there are two drawbacks with the native implementation of xmpp in SailfishOS:

  • Encryption is not implemented
  • You can only send a message to someone if you have received once a message from him/her
6 Likes

You may also try Shmoose (Shmoose | OpenRepos.net ā€” Community Repository System)

@nephros has suggested a number of mechanisms for getting jabber/xmpp data associated with contacts: here XMPP no longer works - #6 by nephros and reading the thread may be instructive. Also see: No 'presence' in 'settings' app on pinephone

Iā€™ve actually been able to use the native messenger to XMPP but find it really ā€˜oddā€™. I donā€™t actually use Shmoose, but it does work. Itā€™s just not integrated into the os.

And, as @phklrz mentions, no omemo in the native implementation. errr. thatā€™s no good.

3 Likes

The more i think about it the more i lean to stuff like that (xmpp, twitter etc) should be removed from the core os since we have apps.

:thinking:

2 Likes

Yeah. The os canā€™t keep up to developments of that kind. The only thing jolla can do is to make it painless to do stuff like notifications and sharing :slight_smile:

2 Likes

I agreeā€¦ but perhaps providing the account infrastructure could still be useful:

2 Likes

For sure we need notification infra for the OS. There have been discussions -and from the community- about push notifications but still nothing materialized.

1 Like

True. Since accounts and secrets are opening up, maybe we can make some progressā€¦

2 Likes

I loved the account Integration on my N900 where everything just workes through the message appā€¦ Was just great! Iā€™d prefer that much more than running virtually a billion apps in parallel.
However, I understand there are no ressources to achieve it until a major player would pick SfOS up to build a global ecosystem. I would love to see that happen because I donā€™t like Android and itā€™s Google integration, nor do I like iOS/Apple.

1 Like

I like this general approach of Sailfish too, as in: The protocol doesnā€™t matter but the use case. Thought from a user centered perspective. Imagine you could (video)call someone via xmpp by using the telephone app of Sailfishā€¦

2 Likes

I use XMPP/Jabber a lot without using Shmoose or any other fully-fledged XMPP client apps. However PingYou has proven useful, because you cannot add XMPP contacts using out-of-the-box SailfishOS :man_shrugging:. Once you have done this, those contacts appear in your SailfishOS contacts, where you can connect them to existing contacts if needed.

When this is done, you can use XMPP/Jabber to send text messages just the way you do it via SMS (which way you use to send the message is metioned below the message field and you can also switch between the available methods there), which I find pretty cool.

The downsides of using XMPP/Jabber like this (mostly referred to here already), are mentioned and discussed here.

I really like the idea behind the XMPP integration in SailfishOS, but - like many others around here - I think itā€™s high time Jolla finally went the last few steps to really make it useful for everyone!

1 Like

You can only send a message to someone if you have received once a message from him/her

Thatā€™s not quite true. You can use PingYou to add XMPP users to your roster and they will appear in your SailfishOS contacts, where you can connect them to existing contacts if you like or you can use them ā€œstandaloneā€. Once youā€™ve done that, you can start sending messages using XMPP without having received a message from the contact in question first.

I agree, however, that adding XMPP contacts is something that should just works out-of-the-box!

1 Like

Pingyou has not been updated for more than 5 years. It is not compatible with SailJail.
It doesnā€™t work on my XA2 with 4.4.0.68.

What about telepathy gabble plus fromopenrepos? Does this still work?

Added to https://forum.sailfishos.org/t/apps-that-havent-been-ported-to-aarch64

Iā€™ll take a crack at it, this week.

4 Likes

Yes it does! (4.4.0.64/aarch64)

1 Like

I didnā€™t see an aarch64 build? Did you build it?