Esempio n. 1
0
 function ajaxRefreshVcard($jid)
 {
     if (!$this->validateJid($jid)) {
         return;
     }
     $a = new Moxl\Xec\Action\Avatar\Get();
     $a->setTo(echapJid($jid))->request();
     $v = new Moxl\Xec\Action\Vcard\Get();
     $v->setTo(echapJid($jid))->request();
     $r = new Get();
     $r->setTo(echapJid($jid))->request();
 }
Esempio n. 2
0
File: Get.php Progetto: Hywan/moxl
 public function error($error)
 {
     $r = new \Moxl\Xec\Action\Vcard\Get();
     $r->setTo($this->_to)->request();
 }