[ejabberd] Shared Roster

Badlop badlop at gmail.com
Sat Sep 12 22:13:08 MSD 2009

2009/9/12 Florian Hackenberger <f.hackenberger at chello.at>:
> Concerning the shared roster support [1], does that feature require
> special support from the XMPP client?

Nothing really special. Reading the code: when the client queries to
get the roster [1], ejabberd sends him the roster constructed by
concatenating the account stored roster and the corresponding shared

> I enabled the feature and users
> logging in with pidgin can see the users in the shared group (@all@),
> but users using a client based on smack [2], just see the contacts they
> added themselves.

> Does the feature require XEP-0140 support or support
> for another optional XMPP specification?

No, because ejabberd provides the roster items from shared roster
groups as if they were in the account stored roster.

Also, the feature works with all desktop clients i ever tried,
including Tkabber which doesn't support XEP-0140.

> If not, is there a way to
> debug why the users with the smack based client do not get the users
> from the shared group when requesting the roster?

Compare the stanzas sent by Pidgin and the Smack client.
Maybe your simple Smack client doesn't send the IQ Roster Get?

[1] http://xmpp.org/internet-drafts/draft-ietf-xmpp-3921bis-01.html#roster-syntax-actions-get


More information about the ejabberd mailing list