What's the best way to find out the online status of another user whose jid is known? Well here is how I am attempting to go about it
1) Send initial presence
2) Send directed presence stanza to the desired user
3) Add a handler prior to the sending initial presence line.
MyNamespace.connection.addHandler(Mynamespace.on_send_my_presence, null, "presense", null, null);
From this point on, I'm confused. How does the contact's client handle the incoming stanza from me, such that I know what his online status is? Or am I even going about this the right way? I don't want to use subscriptions and rosters.