Problem with shared roster and presence

Hi,
I'm trying to configure a shared roster but I have a problem with the contact's presence. I want to have a situation like the one described in "All users in a Shared Roster Group" with the public people but without using the wildcard, only a limited group of contacts.

The "public" contacts (group1) are in the roster of the group2, but they are always "offline". If I try to send an IM to a member of group1 who is connected but seems offline, it recevies the message and it can answer. I understand that with shared roster, the presence of the group1 members should be notified to group2 members.

I don't know if the problem is with the client (Gaim) or with my Shared roster configuration (ejabber1.0). Here it's my groups config:

Shared group: group1
* Name: Group1
* Description: This group contains public people
* Members: user1@mydomain.com, user2@mydomain.com
* Displayed Groups:

Shared group: group2
* Name: Group1
* Description: This group would have group1 members in its roster
* Members: user3@mydomain.com, user4@mydomain.com
* Displayed Groups: group1

Thanks.

It is a problem on the text, not on ejabberd or GAIM

You are completely right, and I've checked it with ejabberd SVN and Tkabber CVS.

That behaviour is the expected from the Jabber server: presence is only sent to people available in the roster with the proper subscription.

The problem is that I didn't realize this when I wrote that page (All users in a Shared Roster Group) and the text was erroneous. I have added some explanations to fix it: 'Note that spies will not see presence of their spied people.'

So, people in group2 will not see presence of people in group1 until people in group1 can see presence of people in group2. This is not what you intended, but that's how it works.

You can assume this behaviour and/or add a feature request to Bugzilla to allow spies/big brothers.

Feature request

Thanks Badlop for the explanation. I think I would submit a feature request, because this feature would be very important for the development I'm planning at my job.

Syndicate content