示例#1
0
文件: DiscoInfo.php 项目: movim/moxl
 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);
 }
示例#2
0
 public function request()
 {
     $this->store();
     Disco::request($this->_to, $this->_node);
 }
示例#3
0
文件: Items.php 项目: Hywan/moxl
 public function request()
 {
     $this->store();
     Disco::items($this->_to);
 }