How to get the resource String for every Presence of a User? 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




Is this possible with the current SMACK? If not, consider this as feature request.


On each Presence, the getFrom() will return the full JID.

@rcollier: Thank you. I knew that I missed something. Did noticed that Presence extends Packet.