XMPP no longer works

additional precondition:

  • internet acces (mobile/WLWN)

I suggest to switch off XMPP inside android layer and send You a XMPP message from a different (test) account using another device. Telepathy should receive this message and the senders address becomes a contact into the phonebook (if linked to a existing contact, it will be shown as nickname with telepathy symbol).
If You want to send someone a message from telepathy, select the person from pervious conversations, then select receivers XMPP address by touching the down arrow before typing any message text. The receivers online status is stated there too.

At least sending and receiving messages with telepathy in Rokua 3.3.0.16 can I confirm working.

1 Like

Sorry for the necromancy, just in case someone finds this thread, following the ancient answer on TMO I can’t find right now, manually adding an XMPP contact can be done using the People .vcf import.

  1. Create a vcf file like:

    BEGIN:VCARD
    VERSION:2.1
    N:Example Jabber Contact;;;;
    FN:Example Jabber Contact
    X-JABBER:username@jabber.example.org
    END:VCARD
    
  2. Save it to ${HOME}/Documents (NB: in sandboxed-enabled SFOS versions, People can not access $HOME or Downloads, causing the import to fail. Do use Documents)

  3. Launch the Settings app

  4. Go to Apps->People

  5. Select “import from contact file”

  6. Select .vcf file to import

  7. Close Settings and People

  8. Open People

  9. Search for your new contact and link it to the proper contact in your addressbook.

5 Likes

What a great piece of smart hackery. Thanks @nephros. It makes me wonder why we don’t have a UI for this.

1 Like

In case you like to have the jabber info inside your contact details (all together):

  • open contacts
  • pulley, select contacts
  • select one (or more) contact(s) and choose mail (or bluetooth if you like)
  • send mail to yourself and download (or open BT transfer) vcf attachment(s) to your PC
  • tedious to do on phone but possible: after receiving mail on phone you need to view/download the vcf attachment (-sfos will open with contacts and tell you nothing to do-) and then find latest new folder in Downloads/mail_attachments
  • edit vcf attachment as @nephros said and esp. add a new line X-JABBER:username@jabber.example.org
  • re-transfer modified vcf to phone (mail, bluetooth, usb) and just click it
  • contacts will open it and merge new Jabber info to existing contactj
3 Likes

+1    

only for reference

2 Likes

[quote=“flypig, post:7, topic:694”] It makes me wonder why we don’t have a UI for this.
[/quote]

I don’t know.

What I do know that a oneliner fix to buteo carddav plugin allows contacts synced from remote services to include the information in the corresponding addressbook :), i.e. makes the process described by @peterleinchen automatic on sync, if the remote service has that information.

1 Like

For those who want to add XMPP contacts using a UI, there’s an app named PingYou, which has this functionality. However, it’s not available in the Jolla Store, only via Openrepos.

5 Likes

Cool, I wasn’t aware of that app.

1 Like

My pleasure.

PingYou was released in January 2017 and it says in the description

Development is focused on implementing features missing from the default xmpp client in SFOS

So adding XMPP-contacts was a “pain point” almost 5 years ago and it still is, so high time Jolla added this feature!

I should probably have added it to my Feature Request Support encryption, file transfer and groups for XMPP/Jabber.

3 Likes

May I correct you?
>= 8 years
(similar to (first?) SIP request!)

2 Likes

Thanks for the info! I was judging from the release date of PingYou, but of course I didn’t mean to deny the possibility, the problem existed even longer. :slightly_smiling_face: Anyway, that makes the whole thing even more severe!

1 Like

To be fair, with both Google and Facebook having abandoned XMPP, and the creation of all the other messaging protocols and apps I can understand why it hasn’t been a priority for Jolla.

That doesn’t mean I don’t think XMPP is valuable (as is SIMPL), but really it is kind of a niche thing right now.

On the other hand, it’s companies the likes of Google and Facebook, people try to get away from by using SailfishOS devices, right?
If so, it should be a priority for Jolla, because XMPP is the most widely used messaging protocol, which doesn’t make users dependent of a single company and that’s what their clientele wants.

3 Likes

Well for the community that’s true but as we know enabling us is not Jollas business model.

Now what would be a selling point in the business world? I guess Cisco are the most prominent who still are invested in Jabber but supporting it would only make sense if you can make WebEx work as well I guess.

1 Like

If I’m perfectly honest, I find it hard to understand what you’re talking about.

  1. XMPP is an open protocol (it’s an IETF standard), meaning unlike the protocols used by Google or Facebook, it’s not limited to and/or dependent on a certain provider.
  2. How many business users do you think there are, who don’t want to rely on an open protocol for messaging, but putting their money on Sailfish OS?
  3. There are literally thousands of XMPP servers available (you can even set up your own!) and in contrast to those using proprietary protocols, they all talk to each other, which means if your provider becomes unavailable, you can switch to another one and continue communicating, much like changing your e-mail address. I don’t see where big companies investing into it come into play.
  4. We’re not talking about an extensive software project here. SailfishOS already supports XMPP and implementing basic features like adding users shouldn’t mean a big investment. I think there’s even Open Source code for this kind of functionality out there and if so, that would only mean integrating existing code into SFOS.
2 Likes

Test post, please ignore

I had just noticed it was no longer available, so I built it for aarch64. I’m not sure how it’s ‘supposed’ to work, but telepathy has issues connecting with my xmpp server, so I’m guessing I’d be in for debugging. In any case, add contacts to people does not work with PingYou.

But then, I don’t seem to get any xmpp activity on 4.4 with the native messages client. If I install Shmoose, it works (although images/file attachments are broken if they ever worked?).

The server is prosody .12, I believe.

2 Likes

I don’t even get past this (even with a linked jid). I just get Invalid recipient if i type a user@domain.tld

I guess I’m a little late here (Sorry!) :wink:, but PingYou (unfortunately) doesn’t “add contacts to people”. The way it works is:

  1. You add an XMPP contact to your roster in PingYou
  2. The created contact appears in your SailfishOS contacts.
  3. You can connect the XMPP contact (created by PingYou) to an existing contact/person if you like.

Ok, thanks. I’ll try the workflow.

1 Like