How do I set up XMPP so that all registered users can see each other and communicate with each other?

I am new to XMPP. I am using Openfire server and building a console client using the Smack library.

My Account:
All anonymous users logged in (in the future, site visitors) will be able to see other anonymous, registered users. And they can initiate a private chat (one-to-one) with any of them.

So, I can log in as an anonymous user, but I cannot see other Anon / Logged in users (using Roster) because they are not included in the anon user list.

So why do you need to do the OR custom = component / code setting to achieve this? Do I need to create a server component? Any hint? OR
Can this be done using the correct configuration?

Greetings

+2


a source to share


1 answer


You must create a multilingual MUC room and join users after entering this room. After the user joins the muc room, they can get the list of participants.



+1


a source







All Articles