From Smack javadoc for Roster:
public Presence getPresence(String user)
/code
…
If the user has several presences (one for each
resource) then answer the presence with the
highest priority.
So the user can have multiple presences (for various resources) and only one will be returned (highest priority). Can i find out what exact resource the presence was returned for?
And also when I use conn.login(“x”, “y”) what is the resource called (if anything)? Can I change this?
Thanks and regards, Alex
Message was edited by:
alexp
Message was edited by:
alexp