src/sb/XMPP/Client.php
public function sendAcceptSubscriptionRequest($to)
    {
        $presence = new \sb\XMPP\Presence();
        $presence->setType('subscribed');
        $presence->setTo($to);
        return $this->sendPresence($presence);
    }
public function sendAcceptSubscriptionRequest($to)
    {
        $presence = new \sb\XMPP\Presence();
        $presence->setType('subscribed');
        $presence->setTo($to);
        return $this->sendPresence($presence);
    }
public function sendAcceptSubscriptionRequest ( $ to ) { $ presence = new \ sb \ XMPP \ Presence ( ) ; $ presence -> setType ( 'subscribed' ) ; $ presence -> setTo ( $ to ) ; return $ this -> sendPresence ( $ presence ) ; }
Send a presence message accepting subscription request to a jid
@param string $to The jid of the person to send the acceptance request to
@return boolean
Send a presence message accepting subscription request to a jid