Roster.java saves the currently known Presences as a Map with the bare JID as key and an HashMap as value, which has itself the resource String as key for every known presence/resource combination for a bare JID. But calling Roster.getPresences() only returns the plain Presence Packets as Iterator, the information for which resource the presence actually is gets lost there. Or am I missing something? Are there other ways?
I want to show in my App all avaiable resources for a given JID in my Roster. Like
user@server.tld/resource1
user@server.tld/resource2
user@server.tld/resource3
Is this possible with the current SMACK? If not, consider this as feature request.
Flow