I have built a servlet-based jabber client with smack-1.4 in recent days. Everything seems ok except for one problem that puzzles me:
when more than one user, say two users, login to the application, the two then add the other to its roster separately, but only one of them can see the online presence of the other. I have already set SUBSCRIPTION_ACCEPT_ALL. Is PresenceListener thread-safe?
or smack only supports single-user client?
could anyone help me thanks!