Exemplo n.º 1
0
Arquivo: Muc.php Projeto: Hywan/moxl
 public function request()
 {
     $this->store();
     // We clear all the old messages
     $md = new \modl\MessageDAO();
     $md->deleteContact($this->_to);
     Presence::muc($this->_to, $this->_nickname);
 }
Exemplo n.º 2
0
Arquivo: Muc.php Projeto: movim/moxl
 public function request()
 {
     $this->store();
     $session = \Session::start();
     if (empty($this->_nickname)) {
         $this->_nickname = $session->get('username');
     }
     // We clear all the old messages
     $md = new \Modl\MessageDAO();
     $md->deleteContact($this->_to);
     Presence::muc($this->_to, $this->_nickname);
 }
Exemplo n.º 3
0
Arquivo: XA.php Projeto: movim/moxl
 public function request()
 {
     $this->store();
     Presence::XA($this->_status);
 }
Exemplo n.º 4
0
 public function request()
 {
     $this->store();
     Presence::subscribe($this->_to, $this->_status);
 }
Exemplo n.º 5
0
 public function request()
 {
     $this->store();
     Presence::subscribed($this->_to);
 }
Exemplo n.º 6
0
 public function request()
 {
     $this->store();
     Presence::unavailable($this->_to . '/' . $this->_resource, $this->_status, $this->_type);
 }