[guardian-dev] Gibberbot and XMPP resource

Matej Kovacic matej.kovacic at owca.info
Mon Jun 3 17:12:07 EDT 2013


Hi,

I was reading about XMPP resources. The idea is, that you can use the
same XMPP account on several devices. For instance, I want to use the
same account on my computer (Pidgin) and on a phone (Gibberbot).

When I am at the computer, messages would go to a computer, but when
computer is off, or I am away (away status in Pidgin), messages would go
to my phone.

It seems Pidgin has pre-set XMPP priorities and user cannot change that:

https://developer.pidgin.im/wiki/Protocol%20Specific%20Questions#HowcanIconfigureresourcepriority

But in Gibberbot you can change priority. Default is 20.

I tried to sent a message from phone A to my account, active on a PC and
phone B. When PC was active, message went to a PC. But when I closed
down Pidgin on a PC, message was not sent to phone B. It was sent, but
got lost.

When I try to sent message from phone B to phone A and then back, it was
sent successfully (account on a PC was disabled).

Any hint what I am doing wrong?

Regards,

Matej


More information about the Guardian-dev mailing list