SubscribeTo Method
Use this method to subscribe to another entity's presence.
Object Oriented Interface
public function doSubscribeTo($jabberid);
Procedural Interface
ipworks_xmpp_do_subscribeto($res, $jabberid);
Remarks
This method will send a request for a subscription to JabberId's presence. If the entity allows the subscription, a new item will be stored in the buddy list with the appropriate subscription type. Otherwise, no change will take place.