We are using Smack 2.1.0 and Wildfire 2.4.0. In our client UI, we list users based on groups. Group-user combinations
are obtained from a DB. We allow a user to belong to multiple groups.
We would like to get GroupName when a user is selected. What we get is a SelectionList that contains user objects. For each user in this selection list, we are able to get RosterEntry and from RosterEntry we can get ALL the groups that this user belongs to. We are, instead, interested in getting the SPECIFIC group that the selected user belongs to.
Is there a way to get the group name of a selected user?