Question

I'm creating a chatroom website were each user can create a room and add his friends to that room and then start chatting!:D I'm using XMPP as the tool for this site with ejabberd server and smack API as client for room configuration! as you've already understood rooms are member only but I'm looking for a way to let each user see all rooms that she is a member of! is it possible with xmpp protocol(to get all rooms that I'm member of)?how?

Does making the rooms public solve the problem? BTW how can I do it with smack API? or better say, how can I choose to set a room public or hidden

thanks in advance

Was it helpful?

Solution

No, it is not possible in XMPP. This has been asked before, see: Is there a way to determine which Mulit User Conferences (MUC) a user has joined?

You could however keep track of these rooms yourself in a separate data store each time an user would enter (and/or leave) the room, but this is outside the scope of XMPP as mentioned earlier.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top