]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
remove unimplemented methods from XmppDaemon
authorEvan Prodromou <evan@prodromou.name>
Wed, 27 Aug 2008 21:04:29 +0000 (17:04 -0400)
committerEvan Prodromou <evan@prodromou.name>
Wed, 27 Aug 2008 21:04:29 +0000 (17:04 -0400)
darcs-hash:20080827210429-84dde-90c22dbee16f74f53464dcd538a6dbcf49db4f28.gz

scripts/xmppdaemon.php

index 2b21efa1e647cb011e97c8876145c7770b5d35e2..b013a34c9da6d9465664b6e056f8f111c03b076f 100755 (executable)
@@ -71,15 +71,10 @@ class XMPPDaemon {
        }
 
        function handle() {
-
                $this->conn->addEventHandler('message', 'handle_message', $this);
                $this->conn->addEventHandler('presence', 'handle_presence', $this);
                
-               while(!$this->conn->isDisconnected()) {
-                       $this->conn->processTime(5);
-                       $this->broadcast_queue();
-                       $this->confirmation_queue();
-               }
+               $this->conn->process();
        }
 
        function get_user($from) {