Beispiel #1
0
 function ajaxRefreshFeed($jid)
 {
     if (!$this->validateJid($jid)) {
         return;
     }
     $r = new GetItems();
     $r->setTo($jid)->setNode('urn:xmpp:microblog:0')->request();
 }
Beispiel #2
0
 function ajaxRefresh()
 {
     Notification::append(null, $this->__('menu.refresh'));
     $sd = new \modl\SubscriptionDAO();
     $subscriptions = $sd->getSubscribed();
     foreach ($subscriptions as $s) {
         $r = new GetItems();
         $r->setTo($s->server)->setNode($s->node)->request();
     }
 }
Beispiel #3
0
 function ajaxFeedRefresh()
 {
     $r = new GetItems();
     $r->setTo($this->user->getLogin())->setNode('urn:xmpp:microblog:0')->request();
 }