public function handle($stanza, $parent = false) { $jid = (string) $parent->attributes()->from; $to = current(explode('/', (string) $parent->attributes()->to)); $id = (string) $parent->attributes()->id; Disco::answer($jid, $id); }
public function request() { $this->store(); Disco::request($this->_to, $this->_node); }
public function request() { $this->store(); Disco::items($this->_to); }