Subject: Know if a user (jid) is authorized to enter in a room
Hi,
i use openfire 3.9.1.
I need to know if an user is a member of a room. There is some function that tell me if the user (jid) is authorized to enter a room?
The goal is to get list the rooms in the system discovered with the code below but with the information if the user is allowed to enter or not the room and display it on the list
Thank you
Maurizio Binello
i use openfire 3.9.1.
I need to know if an user is a member of a room. There is some function that tell me if the user (jid) is authorized to enter a room?
The goal is to get list the rooms in the system discovered with the code below but with the information if the user is allowed to enter or not the room and display it on the list
- string srv = "conference." + ChatServer;
- var query = e.Iq.Element<Matrix.Xmpp.Disco.Items>();
- if (query != null)
- {
- foreach (var itm in query.GetItems())
- {
- System.Diagnostics.Debug.WriteLine(itm.Jid);
- Contacts.AddGroup(itm);
- }
- }
Thank you
Maurizio Binello