We have moved to a new Sailfish OS Forum. Please start new discussions there.

Two Sailfish devices - only one can be xmpp "available"?

asked 2016-07-23 13:20:29 +0300

cy8aer gravatar image

updated 2016-07-23 13:22:52 +0300

Silly thing:

  • two devices (here JollaC and Jolla1)
  • create an xmpp account to your favorite server (here prosody, same account) on both devices.
  • open "Settings -> Status ("available", "offline"...)

expected: - both devices are "available". The priority controls who gets messages first.

but only one ist "available" the other is offline. When switching on the "offline" device to "available" the other device looses the "available" state to "offline" and the other way round. And (Murphy) the device you do not want to use yet takes the "online" state if they both have the same priority.

edit retag flag offensive close delete



Both devices try to log in with the same xmpp resource:

Looks like the resource can not be changed by user


nit ( 2016-07-25 00:47:36 +0300 )edit

1 Answer

Sort by » oldest newest most voted

answered 2016-08-02 11:18:29 +0300

cnlpete gravatar image

What @nit said is correct, all jabber accounts use the resource "Jolla" per default. This can not be changed in the UI (where i would like to do so). As a workaround you can set it with the mc-tool.

on the command line, get you account identifier with

mc-tool list

Which should give an account similar to "gabble/jabber/jabber_1"

You can then show/change the resource with

mc-tool show <account-identifier>
mc-tool update <account-identifier> string:resource="Jolla C"
edit flag offensive delete publish link more


That works for me. Though it would be nice to have an edit field for this in preferences like the priority one. Between the mc-tool show and mc-tool update I needed a

mc-tool reconnect <account-identifier>

The mc-tool helped me to do this.

cy8aer ( 2016-08-10 14:40:51 +0300 )edit
Login/Signup to Answer

Question tools



Asked: 2016-07-23 13:20:29 +0300

Seen: 374 times

Last updated: Aug 02 '16