Running 2.0.0rc1.
If I add users to a group, say
identifier: group1
name: group1
description: something
members:
user1
user2
user_me
displayed groups: group1
Then when I log in as
identifier: group1
name: group1
description: something
members:
user1
user2
displayed groups: group1
Then I can see user1 and user2 in the group1 roster. If I change it to:
identifier: group1
name: group1
description: something
members:
user1
displayed groups: group1
Then I only see user1 in the group1 roster. Likewise the other users can't see me in their rosters if I have the FQDN in the configuration.
In the ejabberd.cfg file, I have:
{hosts, ["domain.com"]}.
Something is not right for FQDN required and not required.
I don't understand your problem
I don't understand your problem. The ejabberd Guide says: 'Members: A list of full JIDs of group members, ...'. So, you must put full JIDs, not just the usernames.
Anyway, I tried your last example in ejabberd 2.0.0-rc1 and Erlang R11B-5: I see both user1 and user2@localhost in my 'localhost' server. But of course the JID 'user1' is not the same than 'user1@localhost'. So, I get the presence from user2@localhost, but not from user1@localhost.
I'm seeing different
I'm seeing different behavior.
So, I just created a roster:
me@domain.com
user2@domain.com
user1
I'm running 2.0rc1, with Exodus client.
I'm only seeing user1 in my Exodus group.
On a second note:
I am new to instant messaging. This convention of requiring a JID (a username plus domain name); is this for real? It seems amazing to me that the full JID is required. This server is internal and private to a small group of about 100 people. We don't care about the JID, just the username. It would be nice to go with username only and throw out the JID.