libpurple IM conversation name

Mark Doliner mark at kingant.net
Fri Apr 12 13:00:35 EDT 2013


On Fri, Apr 12, 2013 at 9:34 AM, Zoltán Sólyom <z-ismeretlen at freemail.hu> wrote:
> from='friend at jabber.org/48154a0d3b8196c6'

The hex string is called the XMPP "resource."  It's not necessarily
hex.  XMPP clients (including Pidgin) often allow users to specify
this.  Sometimes XMPP servers append or replace the resource with a
randomish hex string.  It's used for logging into an account from
multiple clients at the same time.  For example:
mark.doliner at gmail.com/Home
mark.doliner at gmail.com/Work

Dealing with resources is kind of complex.  If you send an IM to
mark.doliner at gmail.com/Home then I believe it will only be sent to
that instance of Pidgin.  Whereas if you send an IM to
mark.doliner at gmail.com then it will be sent to both.




More information about the Devel mailing list